Fix modes on Davids stuff
All checks were successful
Check / Lint Ansible Files (push) Successful in 5m42s
All checks were successful
Check / Lint Ansible Files (push) Successful in 5m42s
This commit is contained in:
parent
ffa11cfb78
commit
2c13a0da72
@ -31,6 +31,7 @@
|
|||||||
name: "david"
|
name: "david"
|
||||||
group: "david"
|
group: "david"
|
||||||
state: "present"
|
state: "present"
|
||||||
|
shell: "/bin/bash"
|
||||||
# Disable password auth
|
# Disable password auth
|
||||||
password: "!"
|
password: "!"
|
||||||
- name: Create David SSH directory
|
- name: Create David SSH directory
|
||||||
@ -40,6 +41,7 @@
|
|||||||
owner: david
|
owner: david
|
||||||
group: david
|
group: david
|
||||||
state: directory
|
state: directory
|
||||||
|
mode: "0700"
|
||||||
- name: Set David SSH key
|
- name: Set David SSH key
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
@ -50,6 +52,7 @@ nxEdyH1aEGOGGRqDCp3U/SG46 davidtanner@coolerLaptop2.fritz.box"
|
|||||||
group: david
|
group: david
|
||||||
create: true
|
create: true
|
||||||
state: present
|
state: present
|
||||||
|
mode: "0600"
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- name: Restart sshd
|
- name: Restart sshd
|
||||||
|
@ -16,6 +16,14 @@
|
|||||||
url: https://github.com/pbrinkmeier/tichy-clicker
|
url: https://github.com/pbrinkmeier/tichy-clicker
|
||||||
commit: 7dfb14183c765e3661fda84a7e89c2f73ca86f26
|
commit: 7dfb14183c765e3661fda84a7e89c2f73ca86f26
|
||||||
owner: paul
|
owner: paul
|
||||||
|
- name: Create David Sites directory
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /home/david/Sites
|
||||||
|
state: directory
|
||||||
|
owner: david
|
||||||
|
group: david
|
||||||
|
mode: "0755"
|
||||||
- name: Create dt.beany.club directory
|
- name: Create dt.beany.club directory
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
@ -23,3 +31,4 @@
|
|||||||
state: directory
|
state: directory
|
||||||
owner: david
|
owner: david
|
||||||
group: david
|
group: david
|
||||||
|
mode: "0775"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user