Skip to content
Snippets Groups Projects
Select Git revision
  • ldapi-support
  • master default
  • v1.3.3
  • v1.4.0
  • v1.3.2
  • v1.3.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.1
  • v1.0.0
  • v0.4.0
  • v0.2.0
  • v0.3.0
  • v0.1.1
  • v0.1.0
16 results

flask-simpleldap

  • Clone with SSH
  • Clone with HTTPS
  • ansible-wordpress

    Ansible role for installing Wordpress. It installs Nginx and PHP-FPM as well. Backups of the Wordpress installation is done daily. Theme and plugin installation is done via filesystem, no FTP access is provisioned. A MySQL account and database is created during the run.

    Requirements

    Debian Jessie.

    Role Variables

    wordpress_fqdn: {{ ansible_fqdn }} #Site FQDN.
    wordpress_mysql_server: #Address for the MySQL server.
    wordpress_mysql_user: #MySQL admin username.
    wordpress_mysql_password: #MySQL admin password.

    Dependencies

    Common role Nginx role

    Example Playbook

    - hosts: wordpress01
      roles:
      - role: mysql
        mysql_admin_password: qwerty123
      - role: wordpress
        wordpress_fqdn: blog.example.com
        wordpress_password: pa55w0rd
        wordpress_mysql_server: localhost
        wordpress_mysql_admin_user: admin
        wordpress_mysql_admin_password: qwerty123

    Example requirements.yml

    - src: https://git.shore.co.il/ansible/common.git
      scm: git
      path: roles/
      name: common
    - src: https://git.shore.co.il/ansible/mysql.git
      scm: git
      path: roles/
      name: mysql
    - src: https://git.shore.co.il/ansible/nginx.git
      scm: git
      path: roles/
      name: nginx
    - src: https://git.shore.co.il/ansible/wordpress.git
      scm: git
      path: roles/
      name: wordpress

    License

    This software is licnesed under the MIT licese (see the LICENSE.txt file).

    Author Information

    Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore.

    TODO

    • Depend on Nginx and common roles
    • Use new MySQL admin account.
    • Enforce TLS on MySQL connection