Use true instead of yes.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
regexp: "{{ bash_exec.stdout }}"
|
||||
line: "{{ bash_exec.stdout }}"
|
||||
insertbefore: "# End of file"
|
||||
backup: yes
|
||||
backup: true
|
||||
create: no
|
||||
state: present
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
@@ -29,7 +29,7 @@
|
||||
# regexp: "{{ zsh_exec.stdout }}"
|
||||
# line: "{{ zsh_exec.stdout }}"
|
||||
# insertbefore: "# End of file"
|
||||
# backup: yes
|
||||
# backup: true
|
||||
# create: no
|
||||
# state: present
|
||||
# when: ansible_pkg_mgr == "pacman"
|
||||
@@ -41,8 +41,8 @@
|
||||
user:
|
||||
name: root
|
||||
shell: "{{ bash_exec.stdout }}"
|
||||
create_home: yes
|
||||
generate_ssh_key: yes
|
||||
create_home: true
|
||||
generate_ssh_key: true
|
||||
register: user_root
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
user:
|
||||
name: ansible
|
||||
comment: Ansible
|
||||
system: yes
|
||||
system: true
|
||||
register: user_ansible
|
||||
|
||||
|
||||
@@ -67,10 +67,10 @@
|
||||
- video
|
||||
- render
|
||||
- wheel
|
||||
append: yes
|
||||
append: true
|
||||
shell: "{{ user_shell }}"
|
||||
create_home: yes
|
||||
generate_ssh_key: yes
|
||||
create_home: true
|
||||
generate_ssh_key: true
|
||||
register: user_user
|
||||
|
||||
- name: General | Account Management | Users | User | Test Logging In
|
||||
@@ -1324,7 +1324,7 @@
|
||||
echo "`date` - Ansible .profile loaded successfully!"
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: yes
|
||||
create: true
|
||||
backup: no
|
||||
loop:
|
||||
- ".profile"
|
||||
@@ -1345,7 +1345,7 @@
|
||||
echo "`date` - Ansible .bashrc loaded successfully!"
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: yes
|
||||
create: true
|
||||
backup: no
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
@@ -1361,7 +1361,7 @@
|
||||
echo "`date` - Ansible .zshrc loaded successfully!"
|
||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||
state: present
|
||||
create: yes
|
||||
create: true
|
||||
backup: no
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
@@ -1383,7 +1383,7 @@
|
||||
|
||||
- name: General | Account Management | Users | Files | Helper Functions (Reset)
|
||||
shell: "rm -v {{ global_bin }}/*.function"
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: General | Account Management | Users | Files | Helper Functions
|
||||
copy:
|
||||
@@ -1406,7 +1406,7 @@
|
||||
clone: true
|
||||
force: true
|
||||
update: true
|
||||
#ignore_errors: yes
|
||||
#ignore_errors: true
|
||||
|
||||
- name: General | Account Management | Users | env-shared | Install | .rc_shared
|
||||
copy:
|
||||
@@ -1418,7 +1418,7 @@
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
#ignore_errors: yes
|
||||
#ignore_errors: true
|
||||
when: user_root.home != "" and user_user.home != ""
|
||||
|
||||
- name: General | Account Management | Users | env-shared | Install | .vimrc
|
||||
@@ -1431,7 +1431,7 @@
|
||||
loop:
|
||||
- "{{ user_root.home }}"
|
||||
- "{{ user_user.home }}"
|
||||
#ignore_errors: yes
|
||||
#ignore_errors: true
|
||||
when: user_root.home != "" and user_user.home != ""
|
||||
|
||||
- name: General | Account Management | Users | env-shared | Permissions
|
||||
@@ -1443,4 +1443,4 @@
|
||||
loop:
|
||||
- .rc_shared
|
||||
- .vimrc
|
||||
#ignore_errors: yes
|
||||
#ignore_errors: true
|
||||
|
||||
Reference in New Issue
Block a user