├── .gitignore ├── .kitchen.travis.yml ├── .kitchen.yml ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── ansible.cfg ├── group_vars └── all │ ├── docker.yml │ ├── lemp.yml │ ├── main.yml │ └── secret.yml.example ├── hosts ├── main.yml ├── requirements.yml ├── roles └── connection │ └── tasks │ └── main.yml ├── tasks ├── docker.yml └── lemp.yml ├── test └── integration │ ├── default │ ├── default.yml │ └── serverspec │ │ ├── fail2ban_spec.rb │ │ ├── ntp_spec.rb │ │ ├── spec_helper.rb │ │ ├── sshd_spec.rb │ │ ├── swapfile_spec.rb │ │ ├── ufw_spec.rb │ │ ├── unattended-upgrades_spec.rb │ │ └── user_spec.rb │ ├── docker │ ├── default.yml │ └── serverspec │ │ ├── docker_spec.rb │ │ └── spec_helper.rb │ └── lemp │ ├── default.yml │ └── serverspec │ ├── nginx_spec.rb │ ├── php_spec.rb │ └── spec_helper.rb └── ubuntu_provision.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/.gitignore -------------------------------------------------------------------------------- /.kitchen.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/.kitchen.travis.yml -------------------------------------------------------------------------------- /.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/.kitchen.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/README.md -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/ansible.cfg -------------------------------------------------------------------------------- /group_vars/all/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/group_vars/all/docker.yml -------------------------------------------------------------------------------- /group_vars/all/lemp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/group_vars/all/lemp.yml -------------------------------------------------------------------------------- /group_vars/all/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/group_vars/all/main.yml -------------------------------------------------------------------------------- /group_vars/all/secret.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/group_vars/all/secret.yml.example -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/main.yml -------------------------------------------------------------------------------- /requirements.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/requirements.yml -------------------------------------------------------------------------------- /roles/connection/tasks/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/roles/connection/tasks/main.yml -------------------------------------------------------------------------------- /tasks/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/tasks/docker.yml -------------------------------------------------------------------------------- /tasks/lemp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/tasks/lemp.yml -------------------------------------------------------------------------------- /test/integration/default/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/default.yml -------------------------------------------------------------------------------- /test/integration/default/serverspec/fail2ban_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/fail2ban_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/ntp_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/ntp_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # Encoding: utf-8 2 | require 'serverspec' 3 | 4 | set :backend, :exec -------------------------------------------------------------------------------- /test/integration/default/serverspec/sshd_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/sshd_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/swapfile_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/swapfile_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/ufw_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/ufw_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/unattended-upgrades_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/unattended-upgrades_spec.rb -------------------------------------------------------------------------------- /test/integration/default/serverspec/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/default/serverspec/user_spec.rb -------------------------------------------------------------------------------- /test/integration/docker/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/docker/default.yml -------------------------------------------------------------------------------- /test/integration/docker/serverspec/docker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/docker/serverspec/docker_spec.rb -------------------------------------------------------------------------------- /test/integration/docker/serverspec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # Encoding: utf-8 2 | require 'serverspec' 3 | 4 | set :backend, :exec -------------------------------------------------------------------------------- /test/integration/lemp/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/lemp/default.yml -------------------------------------------------------------------------------- /test/integration/lemp/serverspec/nginx_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/lemp/serverspec/nginx_spec.rb -------------------------------------------------------------------------------- /test/integration/lemp/serverspec/php_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/test/integration/lemp/serverspec/php_spec.rb -------------------------------------------------------------------------------- /test/integration/lemp/serverspec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # Encoding: utf-8 2 | require 'serverspec' 3 | 4 | set :backend, :exec -------------------------------------------------------------------------------- /ubuntu_provision.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jasonheecs/ansible-digitalocean-sample-playbook/HEAD/ubuntu_provision.rb --------------------------------------------------------------------------------