diff --git a/tasks/configure_skel.yml b/tasks/configure_skel.yml deleted file mode 100644 index 91ef535765a30c1bd5d3b5f0c5e6185c84907226..0000000000000000000000000000000000000000 --- a/tasks/configure_skel.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: configure .bashrc - blockinfile: - path: "/etc/skel/.bashrc" - owner: "root" - group: "root" - mode: 0644 - marker: "# {mark} ANSIBLE MANAGED BLOCK ansible_lza_bootstrap_rhel_server" - block: | - cd ~ - -- name: configure .bash_aliases - blockinfile: - path: "/etc/skel/.bash_aliases" - owner: "root" - group: "root" - mode: 0644 - marker: "# {mark} ANSIBLE MANAGED BLOCK ansible_lza_bootstrap_rhel_server" - create: true - block: | - alias ip='ip --color' - alias ll='ls --color -A' - alias la='ls --color -lah' - alias grep='grep --color' - -- name: create user .ssh directory skel - file: - path: "/etc/skel/.ssh" - state: directory - owner: "root" - group: "root" - mode: 0700 diff --git a/tasks/main.yml b/tasks/main.yml index 46856c10ca7d03be5bc3fc6895baa149c12a5d70..0fce7cea555fe6e0a7dd2ed449c7b929862b80e1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,10 +7,6 @@ - "users.vault" tags: [always] -- name: prepare default skel configuration for new users - import_tasks: configure_skel.yml - tags: [skel] - - name: create users import_tasks: configure_users.yml tags: [users]