Updates to many roles, including main user role to allow setting an alternate home directory
This commit is contained in:
@@ -5,22 +5,27 @@
|
||||
|
||||
# Copy Debian 9 sources.list
|
||||
- name: Copying Debian 9 apt/sources.list
|
||||
copy: src=debian/9/sources.list dest=/etc/apt/sources.list
|
||||
copy: src=debian/9/sources.list dest=/etc/apt/sources.list mode=0644
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
|
||||
|
||||
# Copy Debian 10 sources.list
|
||||
- name: Copying Debian 10 apt/sources.list
|
||||
copy: src=debian/10/sources.list dest=/etc/apt/sources.list
|
||||
copy: src=debian/10/sources.list dest=/etc/apt/sources.list mode=0644
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "10"
|
||||
|
||||
# Copy Debian 11 sources.list
|
||||
- name: Copying Debian 11 apt/sources.list
|
||||
copy: src=debian/11/sources.list dest=/etc/apt/sources.list mode=0644
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "11"
|
||||
|
||||
# Copy Ubuntu 16.04 sources.list
|
||||
- name: Copying Ubuntu 16.04 apt/sources.list
|
||||
copy: src=ubuntu/16.04/sources.list dest=/etc/apt/sources.list
|
||||
copy: src=ubuntu/16.04/sources.list dest=/etc/apt/sources.list mode=0644
|
||||
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "16.04"
|
||||
|
||||
# Ignore apt translations
|
||||
- name: Ignoring apt tranlations
|
||||
copy: src=debian/99translations dest=/etc/apt/apt.conf.d/99translations
|
||||
copy: src=debian/99translations dest=/etc/apt/apt.conf.d/99translations mode=0644
|
||||
|
||||
# Install common apps for all debian machines
|
||||
- name: Installing common Debian/Ubuntu applications
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
# Configure /etc/pacman.conf
|
||||
- lineinfile: path=/etc/pacman.conf regexp='^#Color' line='Color'
|
||||
- name: Enabling pacman colors
|
||||
lineinfile: path=/etc/pacman.conf regexp='^#Color' line='Color'
|
||||
|
||||
# Change the games:x:50: group to staff
|
||||
- name: Ensuring group staff:50
|
||||
|
||||
Reference in New Issue
Block a user