Desktop
System
- Ansible from scratch
- Ansible
- AWX
- Using Docker
- MySQL Replication
- Nginx
- Percona XtraDB Cluster
- SELinux Samba share
- Sphinx
- Systemd
Bash
Awk
- Getting Started with awk
- Running awk and gawk
- Regular Expressions
- Reading Input Files
- Record number
- Record splitting with standard awk
- Record splitting with gawk
- Fields
- Contents of a field
- How fields are separated
- Each character a separate field
- FS from the command line
- Field-splitting summary
- Record-splitting summary
- Multiple-line records
- Explicit input with getline
- Getline summary
- Input with a timeout
- Printing Output
- Expressions
- Patterns, Actions, and Variables
- Arrays in awk
- Functions
AWX¶
See also
Installing AWX on Debian¶
Get ansible (if not) & get awx
apt install -y ansible -t stretch-backports
git clone https://github.com/ansible/awx
Check, edit /root/awx/installer/inventory
grep -v '^#.*$\|^$' inventory
postgres_data_dir=/var/pgdocker
# original is #postgres_data_dir=/tmp/pgdocker
use_docker_compose=true
# original is # use_docker_compose=false
project_data_dir=/var/awx_projects
# original is #project_data_dir=/var/lib/awx/projects
Install, start, stop, update
ansible-playbook install.yml -i inventory
cd /var/lib/awx/
docker-compose stop
docker-compose pull && docker-compose up --force-recreate
AWX-container¶
# Ansible-Container installation
sudo python -m pip install --upgrade pip setuptools wheel
sudo pip install ansible-container
# AWX-Container standalone usage
curl -O https://raw.githubusercontent.com/geerlingguy/awx-container/master/docker-compose.yml
docker-compose up -d