Updates to many roles, including main user role to allow setting an alternate home directory
This commit is contained in:
Binary file not shown.
Binary file not shown.
11
server/files/debian/11/sources.list
Normal file
11
server/files/debian/11/sources.list
Normal file
@@ -0,0 +1,11 @@
|
||||
# Debian 11 Bullseye Software
|
||||
deb http://deb.debian.org/debian bullseye main contrib non-free
|
||||
deb-src http://deb.debian.org/debian bullseye main contrib non-free
|
||||
|
||||
# Debian 11 Bullseye Updates
|
||||
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
|
||||
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
|
||||
|
||||
# Debian 11 Bullseye Security
|
||||
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
|
||||
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
|
||||
@@ -52,5 +52,6 @@ alias pops='poetry shell && echo "poetry shell has been deactivated" && echo &&
|
||||
# Docker
|
||||
alias dps="docker ps"
|
||||
alias dpsa="docker ps -a"
|
||||
alias dnet="docker network ls"
|
||||
alias dimg="docker images"
|
||||
alias dimga="docker images -a"
|
||||
|
||||
@@ -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