diff --git a/tasks/main.yml b/tasks/main.yml index 8dc88f6..190cec4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -100,7 +100,7 @@ with_items: - id_rsa - authorized_keys - - gitea + - id_gitea - config - 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. 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: - - gitea + - id_gitea - config - name: Remove root SSH access