Sytax fix
This commit is contained in:
15
playbook.yml
15
playbook.yml
@@ -5,12 +5,11 @@
|
||||
user: warezjoe
|
||||
host: desktop # desktop rpi ntb
|
||||
roles:
|
||||
- role: linux_config_init # run with sudo alone
|
||||
#- role: import_ssh_key # without sudo
|
||||
#- role: tools_for_command_line
|
||||
#- role: service_start
|
||||
#- role: gui_app_init
|
||||
#- role: ansible-role-docker
|
||||
# run with sudo alone
|
||||
- role: linux_config_init
|
||||
# - role: import_ssh_key # without sudo
|
||||
# - role: tools_for_command_line
|
||||
# - role: service_start
|
||||
# - role: gui_app_init
|
||||
# - role: ansible-role-docker
|
||||
# docker_users: "{{ user }}"
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
- name: Hack exists
|
||||
shell: "ls /home/{{ user }}/.local/share/fonts/Hack*Nerd*Font*Complete*"
|
||||
register: hack_exists
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: Download Hack
|
||||
when: hack_exists is failed
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
- name: Set a hostname
|
||||
ansible.builtin.hostname:
|
||||
name: "{{ host }}"
|
||||
name: "{{ host }}"
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
- name: System settings in /etc
|
||||
ansible.builtin.include_tasks: "{{ item }}"
|
||||
loop:
|
||||
- static_dns.yml
|
||||
# - static_dns.yml
|
||||
- sudoer_no_passwd.yml
|
||||
- hostname_set.yml
|
||||
|
||||
- name: Set Pernament IP
|
||||
ansible.builtin.include_tasks: set_perma_ip.yml
|
||||
when: host != 'ntb'
|
||||
when: host != 'ntb'
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
dns4: 8.8.8.8
|
||||
state: present
|
||||
autoconnect: true
|
||||
when: host == 'desktop'
|
||||
when: host == 'desktop'
|
||||
|
||||
Reference in New Issue
Block a user