Skip to content

tkreque/Ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible scripts

This Ansible scripts are used for installation of a Lab but can be used for administration with few changes.

Requirements
  • Ansible 2.9.12
  • Python 3.8.2
  • pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

Folder tree

.
├── configs
│   └── inventory.yml
├── README.md
├── roles
│   ├── apache
│   │   └── tasks
│   │       ├── main.yml
│   │       └── RedHat
│   │           └── apache.yml
│   ├── general
│   │   ├── handlers
│   │   │   └── main.yml
│   │   ├── tasks
│   │   │   ├── main.yml
│   │   │   └── RedHat
│   │   │       ├── ntp.yml
│   │   │       ├── osdependencies.yml
│   │   │       ├── ostools.yml
│   │   │       └── selinux.yml
│   │   ├── templates
│   │   │   └── ntp.conf.j2
│   │   └── vars
│   │       └── main.yml
│   ├── mysql
│   │   ├── tasks
│   │   │   ├── main.yml
│   │   │   └── RedHat
│   │   │       └── mysql.yml
│   │   └── vars
│   │       └── main.yml
│   ├── php
│   │   └── tasks
│   │       ├── main.yml
│   │       └── RedHat
│   │           └── php.yml
│   └── wordpress
│       ├── handlers
│       │   └── main.yml
│       ├── tasks
│       │   ├── main.yml
│       │   ├── mysql.yml
│       │   └── RedHat
│       │       └── wordpress.yml
│       ├── templates
│       │   ├── htaccess.j2
│       │   └── wp-config.php.j2
│       └── vars
│           └── main.yml
└── scripts
    └── wordpress.yml

25 directories, 25 files

Scripts

Wordpress

Basic command to install everything on localhost: ansible-playbook -i configs/inventory.yml scripts/wordpress.yml

Additions that will be added

Wordpress
  • SSL
  • Automatic domain creation in WP
  • Adjust WP version installation
  • Adjust when mysql is already installed
  • Adjust when mysql is remote installed
  • Add monitoring
  • Add vault
  • Add support to other OS Distros

About

My Ansible scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published