chore: rename some things
parent
27e6e693bc
commit
6d50983f84
|
@ -24,6 +24,6 @@ Ansible configuration repository for my homelab.
|
||||||
`static_ip` host var set to the desired static IP address
|
`static_ip` host var set to the desired static IP address
|
||||||
8. Comment out `ansible_ssh_user` in `group_vars/all/vars.yml`, as this
|
8. Comment out `ansible_ssh_user` in `group_vars/all/vars.yml`, as this
|
||||||
overwrites the one set in the hosts file
|
overwrites the one set in the hosts file
|
||||||
9. Run `ansible-playbook -i initial-hosts.ini first_run.yml`. This command will
|
9. Run `ansible-playbook -i inventory/initial_hosts.ini first_run.yml`. This command will
|
||||||
hang at the `restart networking` step; at this point you can Ctrl-C.
|
hang at the `restart networking` step; at this point you can Ctrl-C.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[defaults]
|
[defaults]
|
||||||
vault_password_file = .ansible-password
|
vault_password_file = .ansible-password
|
||||||
inventory = hosts.ini
|
inventory = inventory/local.ini
|
||||||
roles_path = roles
|
roles_path = roles
|
||||||
|
|
|
@ -70,12 +70,12 @@
|
||||||
- restic-rest
|
- restic-rest
|
||||||
tags: restic-rest
|
tags: restic-rest
|
||||||
|
|
||||||
- name: Install Lander
|
# - name: Install Lander
|
||||||
hosts: nas
|
# hosts: nas
|
||||||
become: yes
|
# become: yes
|
||||||
roles:
|
# roles:
|
||||||
- lander
|
# - lander
|
||||||
tags: lander
|
# tags: lander
|
||||||
|
|
||||||
- hosts: nas
|
- hosts: nas
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
- hosts: web
|
# - hosts: web
|
||||||
become: yes
|
# become: yes
|
||||||
roles:
|
# roles:
|
||||||
- lander-web
|
# - lander-web
|
||||||
tags: lander
|
# tags: lander
|
||||||
|
|
||||||
- hosts: web
|
- hosts: web
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -83,8 +83,8 @@
|
||||||
- webdav-web
|
- webdav-web
|
||||||
tags: webdav
|
tags: webdav
|
||||||
|
|
||||||
# - hosts: web
|
- hosts: web
|
||||||
# become: yes
|
become: yes
|
||||||
# roles:
|
roles:
|
||||||
# - otter-web
|
- otter-web
|
||||||
# tags: otter
|
tags: otter
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
append: true
|
append: true
|
||||||
create_home: yes
|
create_home: yes
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
password: "{{ vault_debian_pass | password_hash('sha512') }}"
|
password: "{{ debian_pass | password_hash('sha512') }}"
|
||||||
update_password: on_create
|
update_password: on_create
|
||||||
|
|
||||||
- name: Create SSH directory.
|
- name: Create SSH directory.
|
||||||
|
|
Loading…
Reference in New Issue