Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eumel8/ansible-secupdate
https://github.com/eumel8/ansible-secupdate
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eumel8/ansible-secupdate
- Owner: eumel8
- License: apache-2.0
- Created: 2017-02-23T22:25:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T06:16:15.000Z (21 days ago)
- Last Synced: 2024-12-04T07:25:14.043Z (21 days ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to FAUP - Fully Automatic Update Processor
As part on an internal workflow to upgrade Ubuntu VMs in an OpenStack
environment here are some ansible playbooks to do this:Preconditions for OpenStack usage:
* OpenStack API access
* apt-get install ansible python-shade## Update VMs (dynamic inventor is using the *internal* ip-address!)
```
. ops.openrc
export OS_TENANT_NAME=frank.test
ansible-playbook -i openstack.py update.yml
```for some mission critical VMs might this command useful:
```
ansible-playbook -i openstack.py update.yml --limit vpn
ansible-playbook -i openstack.py update.yml --limit dbserver
```## Update LXD container (via ssh, needs ssh key deployed)
```
ansible-playbook -i lxd.py lxd-update-ssh.yml```
## Update LXD container (via lxc, make snapshots before)
```
ansible-playbook -i lxd.py lxd-update-lxc.yml```
Note: lxd.py is under deployment and will be implemented in the next ansible versions
Hints for install requirements for openstack.py inventory:
```
apt-get install -y --force-yes build-essential libssl-dev libffi-dev python-dev libxml2-dev libxslt1-dev libpq-dev python-pip
pip install -r requirements.txt
pip install -U pyOpenSSL```