Add logging in to possibly have environment files get set up. Create TRASH as user.
This commit is contained in:
parent
fdb12e1f4b
commit
82bec2bf72
@ -28,8 +28,13 @@
|
|||||||
path: "{{ user_ling.home }}/TRASH"
|
path: "{{ user_ling.home }}/TRASH"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
|
become_user: ling
|
||||||
when: user_ling.home != ""
|
when: user_ling.home != ""
|
||||||
|
|
||||||
|
- name: General | Account Management | User | Hyperling | Log In
|
||||||
|
shell: "echo SUCCESS"
|
||||||
|
become_user: ling
|
||||||
|
|
||||||
- name: General | Account Management | User | Hyperling | .bashrc Entries
|
- name: General | Account Management | User | Hyperling | .bashrc Entries
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: "{{ user_ling.home }}/.bashrc"
|
path: "{{ user_ling.home }}/.bashrc"
|
||||||
@ -40,5 +45,5 @@
|
|||||||
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
marker: '# {mark} MANAGED BY ANSIBLE | Aliases'
|
||||||
state: present
|
state: present
|
||||||
backup: yes
|
backup: yes
|
||||||
when: user_ling.home != ""
|
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
when: user_ling.home != ""
|
Loading…
x
Reference in New Issue
Block a user