add samba and private gitea
This commit is contained in:
parent
df62e4f931
commit
e84ebad2b4
@ -100,7 +100,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- id_rsa
|
- id_rsa
|
||||||
- authorized_keys
|
- authorized_keys
|
||||||
- gitea
|
- id_gitea
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: copy rsa key for root
|
- name: copy rsa key for root
|
||||||
@ -112,7 +112,7 @@
|
|||||||
mode: "600" # not required. Mode the file or directory should be. For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like C(0644) or C(01777)) or quote it (like C('644') or C('1777')) so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). As of version 2.3, the mode may also be the special string C(preserve). C(preserve) means that the file will be given the same permissions as the source file.
|
mode: "600" # not required. Mode the file or directory should be. For those used to I(/usr/bin/chmod) remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like C(0644) or C(01777)) or quote it (like C('644') or C('1777')) so Ansible receives a string and can do its own conversion from string into number. Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results. As of version 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). As of version 2.3, the mode may also be the special string C(preserve). C(preserve) means that the file will be given the same permissions as the source file.
|
||||||
selevel: s0 # not required. Level part of the SELinux file context. This is the MLS/MCS attribute, sometimes known as the C(range). C(_default) feature works as for I(seuser).
|
selevel: s0 # not required. Level part of the SELinux file context. This is the MLS/MCS attribute, sometimes known as the C(range). C(_default) feature works as for I(seuser).
|
||||||
with_items:
|
with_items:
|
||||||
- gitea
|
- id_gitea
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Remove root SSH access
|
- name: Remove root SSH access
|
||||||
|
Loading…
Reference in New Issue
Block a user