restored base_pkgs role
This commit is contained in:
parent
e3c27b5bf4
commit
60b52d296a
|
@ -1,24 +1,61 @@
|
||||||
---
|
---
|
||||||
###########################################################
|
###########################################################
|
||||||
#
|
#
|
||||||
# This role will set up a user for retrieving, building and installing arch
|
# This role will install a selected set of packages as a desired baseline
|
||||||
# packages from the AUR.
|
# package collection.
|
||||||
#
|
#
|
||||||
###########################################################
|
###########################################################
|
||||||
# tasks file for aur_builder
|
# tasks file for base_pkgs
|
||||||
|
|
||||||
- debug: msg="Setting up aur_builder acount (Arch)"
|
- debug: msg="Installing desired list of base packages"
|
||||||
|
|
||||||
- name: Create the `aur_builder` user
|
- name: Installed desired list of base packages (Debian based distros)
|
||||||
ansible.builtin.user:
|
apt:
|
||||||
name: aur_builder
|
name:
|
||||||
create_home: yes
|
- build-essential
|
||||||
group: wheel
|
- conspy
|
||||||
|
- cron
|
||||||
|
- curl
|
||||||
|
- dnsutils
|
||||||
|
- elinks
|
||||||
|
- git
|
||||||
|
- htop
|
||||||
|
- logrotate
|
||||||
|
- multitail
|
||||||
|
- net-tools
|
||||||
|
- pandoc
|
||||||
|
- pylint
|
||||||
|
- python3
|
||||||
|
- python3-pip
|
||||||
|
- rsyslog
|
||||||
|
- sudo
|
||||||
|
- tmux
|
||||||
|
- tree
|
||||||
|
- vim
|
||||||
|
- vim-scripts
|
||||||
|
- wget
|
||||||
|
state: latest
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
|
- name: Installed desired list of base packages (Arch based distros)
|
||||||
ansible.builtin.lineinfile:
|
pacman:
|
||||||
path: /etc/sudoers.d/11-install-aur_builder
|
name:
|
||||||
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
- cronie
|
||||||
create: yes
|
- curl
|
||||||
validate: 'visudo -cf %s'
|
- elinks
|
||||||
|
- git
|
||||||
|
- htop
|
||||||
|
- inetutils
|
||||||
|
- multitail
|
||||||
|
- net-tools
|
||||||
|
- python3
|
||||||
|
- tmux
|
||||||
|
- tree
|
||||||
|
- vim
|
||||||
|
- wget
|
||||||
|
state: present
|
||||||
|
force: true
|
||||||
|
update_cache: true
|
||||||
|
when: ansible_os_family == "Archlinux"
|
||||||
|
|
||||||
|
# EOF
|
||||||
|
|
Loading…
Reference in New Issue