Use false instead of no.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
line: "{{ bash_exec.stdout }}"
|
||||
insertbefore: "# End of file"
|
||||
backup: true
|
||||
create: no
|
||||
create: false
|
||||
state: present
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
# line: "{{ zsh_exec.stdout }}"
|
||||
# insertbefore: "# End of file"
|
||||
# backup: true
|
||||
# create: no
|
||||
# create: false
|
||||
# state: present
|
||||
# when: ansible_pkg_mgr == "pacman"
|
||||
|
||||
@@ -1325,7 +1325,7 @@
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: true
|
||||
backup: no
|
||||
backup: false
|
||||
loop:
|
||||
- ".profile"
|
||||
- ".xprofile"
|
||||
@@ -1346,7 +1346,7 @@
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: true
|
||||
backup: no
|
||||
backup: false
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
@@ -1362,7 +1362,7 @@
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: true
|
||||
backup: no
|
||||
backup: false
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
name: snapd
|
||||
pattern: snapd
|
||||
state: stopped
|
||||
enabled: no
|
||||
enabled: false
|
||||
when: ansible_distribution != "Ubuntu"
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
# name: "{{ bluetooth }}"
|
||||
# pattern: "{{ bluetooth_pattern }}"
|
||||
# state: stopped
|
||||
# enabled: no
|
||||
# enabled: false
|
||||
# ignore_errors: true
|
||||
|
||||
## NTP ##
|
||||
@@ -127,7 +127,7 @@
|
||||
name: "{{ item.name }}"
|
||||
pattern: "{{ item.pattern }}"
|
||||
state: stopped
|
||||
enabled: no
|
||||
enabled: false
|
||||
ignore_errors: true
|
||||
loop:
|
||||
- {name: "{{ cups }}" , pattern: "{{ cups_pattern }}"}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
path: "{{ lynis_install_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
recurse: no
|
||||
recurse: false
|
||||
|
||||
- name: General | Tests | Lynis | Run System Audit
|
||||
shell: "{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user