initial checkin
This commit is contained in:
parent
117d50a4b2
commit
e3c27b5bf4
|
@ -1,7 +1,7 @@
|
||||||
# Ansible Role: base_pkgs
|
# Ansible Role: aur_builder
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This role will install a selected set of packages as a desired baseline
|
This role will set up a user for retrieving, building and installing arch
|
||||||
package collection.
|
packages from the AUR.
|
||||||
|
|
||||||
|
|
|
@ -1,61 +1,24 @@
|
||||||
---
|
---
|
||||||
###########################################################
|
###########################################################
|
||||||
#
|
#
|
||||||
# This role will install a selected set of packages as a desired baseline
|
# This role will set up a user for retrieving, building and installing arch
|
||||||
# package collection.
|
# packages from the AUR.
|
||||||
#
|
#
|
||||||
###########################################################
|
###########################################################
|
||||||
# tasks file for base_pkgs
|
# tasks file for aur_builder
|
||||||
|
|
||||||
- debug: msg="Installing desired list of base packages"
|
- debug: msg="Setting up aur_builder acount (Arch)"
|
||||||
|
|
||||||
- name: Installed desired list of base packages (Debian based distros)
|
- name: Create the `aur_builder` user
|
||||||
apt:
|
ansible.builtin.user:
|
||||||
name:
|
name: aur_builder
|
||||||
- build-essential
|
create_home: yes
|
||||||
- conspy
|
group: wheel
|
||||||
- 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: Installed desired list of base packages (Arch based distros)
|
- name: Allow the `aur_builder` user to run `sudo pacman` without a password
|
||||||
pacman:
|
ansible.builtin.lineinfile:
|
||||||
name:
|
path: /etc/sudoers.d/11-install-aur_builder
|
||||||
- cronie
|
line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman'
|
||||||
- curl
|
create: yes
|
||||||
- elinks
|
validate: 'visudo -cf %s'
|
||||||
- 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