65 lines
1.3 KiB
YAML
65 lines
1.3 KiB
YAML
# Install our baseline packages for all machines, irrespective of what role they might have
|
|
---
|
|
- name: Install bootstrap packages
|
|
apt:
|
|
name: "{{ packages }}"
|
|
state: present
|
|
update_cache: yes
|
|
vars:
|
|
packages:
|
|
- python3
|
|
- python3-apt
|
|
- gpg
|
|
|
|
#- name: Add Thunix Repo
|
|
# apt_key:
|
|
# url: http://deb.thunix.net/release.key
|
|
# state: present
|
|
|
|
- name: Install baseline packages
|
|
apt:
|
|
name: "{{ packages }}"
|
|
state: present
|
|
update_cache: yes
|
|
vars:
|
|
packages:
|
|
- apt-transport-https
|
|
- aptitude
|
|
- cron
|
|
- debhelper
|
|
- dpkg-sig
|
|
- git
|
|
- ieee-data
|
|
- libboost-dev
|
|
- letsencrypt
|
|
- man
|
|
- members
|
|
- pflogsumm
|
|
- python3
|
|
- python3-certbot-apache
|
|
- python3-httplib2
|
|
- python3-jinja2
|
|
- python3-kerberos
|
|
- python3-markupsafe
|
|
# - python-netaddr
|
|
- python3-paramiko
|
|
# - python-pip
|
|
- python3-pymysql
|
|
- python3-selinux
|
|
- python3-xmltodict
|
|
- python3-yaml
|
|
- python3-flask
|
|
- python3-flask-restful
|
|
- python3-flask-api
|
|
- python3-pip
|
|
- python3-psutil
|
|
- python3-pymysql
|
|
- sqlite3
|
|
- sudo
|
|
- systemd
|
|
- ufw
|
|
|
|
# Install ansible python package, because it's the latest
|
|
- name: Install ansible
|
|
pip:
|
|
name: ansible |