2018-12-15 21:50:12 +00:00
|
|
|
# Install our baseline packages for all machines, irrespective of what role they might have
|
2018-12-15 03:30:42 +00:00
|
|
|
---
|
2019-12-31 23:28:29 +00:00
|
|
|
- name: Install bootstrap packages
|
|
|
|
apt:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
state: present
|
|
|
|
update_cache: yes
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- ansible
|
|
|
|
- python3
|
|
|
|
- python3-apt
|
|
|
|
- gpg
|
|
|
|
|
2019-04-29 00:42:40 +00:00
|
|
|
- name: Add Thunix Repo
|
|
|
|
apt_key:
|
|
|
|
url: http://deb.thunix.net/release.key
|
|
|
|
state: present
|
|
|
|
|
2018-12-15 03:30:42 +00:00
|
|
|
- name: Install baseline packages
|
2018-12-22 02:14:32 +00:00
|
|
|
apt:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
state: present
|
|
|
|
update_cache: yes
|
|
|
|
vars:
|
|
|
|
packages:
|
2019-01-08 18:55:14 +00:00
|
|
|
- apt-transport-https
|
2019-05-09 08:27:39 +00:00
|
|
|
- aptitude
|
2019-01-07 17:57:58 +00:00
|
|
|
- cron
|
2019-02-18 01:25:10 +00:00
|
|
|
- debhelper
|
2019-05-09 08:27:39 +00:00
|
|
|
- dpkg-sig
|
|
|
|
- git
|
2019-03-14 14:15:11 +00:00
|
|
|
- ieee-data
|
2020-01-01 00:31:12 +00:00
|
|
|
- libboost-dev
|
2019-05-09 08:27:39 +00:00
|
|
|
- letsencrypt
|
|
|
|
- man
|
|
|
|
- members
|
2020-01-13 13:09:23 +00:00
|
|
|
- pflogsumm
|
2019-05-09 08:27:39 +00:00
|
|
|
- python
|
|
|
|
- python-certbot-apache
|
2019-03-14 14:15:11 +00:00
|
|
|
- python-httplib2
|
|
|
|
- python-jinja2
|
|
|
|
- python-kerberos
|
|
|
|
- python-markupsafe
|
2020-07-19 20:18:06 +00:00
|
|
|
# - python-netaddr
|
2020-12-04 19:31:31 +00:00
|
|
|
- python3-paramiko
|
2020-07-19 20:18:06 +00:00
|
|
|
# - python-pip
|
2020-12-04 19:31:31 +00:00
|
|
|
- python3-pymysql
|
|
|
|
- python3-selinux
|
2019-03-14 14:15:11 +00:00
|
|
|
- python-xmltodict
|
|
|
|
- python-yaml
|
2020-01-30 16:22:03 +00:00
|
|
|
- python3-flask
|
|
|
|
- python3-flask-restful
|
|
|
|
- python3-flask-api
|
2020-01-01 00:31:12 +00:00
|
|
|
- python3-pip
|
2020-01-30 16:22:03 +00:00
|
|
|
- python3-psutil
|
2020-01-01 00:31:12 +00:00
|
|
|
- python3-pymysql
|
2019-03-27 01:29:46 +00:00
|
|
|
- sqlite
|
2019-04-01 22:02:54 +00:00
|
|
|
- sudo
|
2020-01-02 05:40:05 +00:00
|
|
|
- systemd
|
2019-04-01 22:02:54 +00:00
|
|
|
- ufw
|
2019-02-18 01:25:10 +00:00
|
|
|
|
2018-12-22 03:25:01 +00:00
|
|
|
# Install ansible python package, because it's the latest
|
|
|
|
- name: Install ansible
|
|
|
|
pip:
|
2019-01-08 18:55:14 +00:00
|
|
|
name: ansible
|