Sytax fix

This commit is contained in:
git
2023-05-18 16:13:37 +02:00
parent ee38cf8458
commit 89bb7de3be
5 changed files with 12 additions and 13 deletions

View File

@@ -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

View File

@@ -1,3 +1,3 @@
- name: Set a hostname
ansible.builtin.hostname:
name: "{{ host }}"
name: "{{ host }}"

View File

@@ -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'

View File

@@ -20,4 +20,4 @@
dns4: 8.8.8.8
state: present
autoconnect: true
when: host == 'desktop'
when: host == 'desktop'