Skip to content
Snippets Groups Projects
Commit 908eeb18 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

refactor: remove skel configuration

parent 2a7852c3
No related branches found
No related tags found
No related merge requests found
---
- 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
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
- "users.vault" - "users.vault"
tags: [always] tags: [always]
- name: prepare default skel configuration for new users
import_tasks: configure_skel.yml
tags: [skel]
- name: create users - name: create users
import_tasks: configure_users.yml import_tasks: configure_users.yml
tags: [users] tags: [users]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment