diff --git a/roles/home-cli/tasks/dirs.yml b/roles/home-cli/tasks/dirs.yml index bae67c4..06b9666 100644 --- a/roles/home-cli/tasks/dirs.yml +++ b/roles/home-cli/tasks/dirs.yml @@ -13,6 +13,11 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Set HOME permissions + ansible.builtin.file: + path: "{{ ansible_env.HOME }}" + state: directory + mode: '0700' - name: Create user bin directory ansible.builtin.file: path: "{{ ansible_env.HOME }}/bin"