darkwizard242.awsnuke
Ansible Role: awsnuke
This role installs aws-nuke on Debian/Ubuntu and EL systems by default.
Requirements
No requirements needed.
Role Variables
Here are the variables you can configure (found in defaults/main.yml
):
List of Variables:
awsnuke_app: aws-nuke
awsnuke_version: 2.25.0
awsnuke_os: linux
awsnuke_arch: amd64
awsnuke_dl_url: https://github.com/rebuy-de/{{ awsnuke_app }}/releases/download/v{{ awsnuke_version }}/{{ awsnuke_app }}-v{{ awsnuke_version }}-{{ awsnuke_os }}-{{ awsnuke_arch }}.tar.gz
awsnuke_app_owner: root
awsnuke_app_group: root
awsnuke_bin_path: /usr/local/bin
awsnuke_file_mode: '0755'
awsnuke_config_dir: "/etc/{{ awsnuke_app }}"
awsnuke_config_dir_mode: '0744'
awsnuke_config_dir_owner: root
awsnuke_config_dir_group: root
awsnuke_template_source: aws-nuke-config.yml.j2
awsnuke_template_dest: aws-nuke-config.yml
awsnuke_template_dest_mode: '0744'
awsnuke_template_dest_owner: root
awsnuke_template_dest_group: root
Description of Variables:
Variable | Description |
---|---|
awsnuke_app | The application to install, which is aws-nuke. |
awsnuke_version | The version to install, defaults to 2.25.0. |
awsnuke_os | The operating system type, defaults to linux. |
awsnuke_arch | The architecture type, defaults to amd64. |
awsnuke_dl_url | The URL to download the awsnuke binary. |
awsnuke_config_dir_owner | The owner of the aws-nuke binary file. |
awsnuke_config_dir_group | The group of the aws-nuke binary file. |
awsnuke_bin_path | The path to store the awsnuke binary, defaults to /usr/local/bin. |
awsnuke_file_mode | The permissions for the aws-nuke binary file. |
awsnuke_config_dir | The directory where the aws-nuke config file will be stored. |
awsnuke_config_dir_mode | The permissions for the aws-nuke config directory. |
awsnuke_template_source | The source template file for the configuration. |
awsnuke_template_dest | The name of the configuration file for aws-nuke. |
awsnuke_template_dest_mode | The permissions for the aws-nuke configuration file. |
awsnuke_template_dest_owner | The owner of the aws-nuke configuration file. |
awsnuke_template_dest_group | The group of the aws-nuke configuration file. |
Dependencies
No dependencies.
Example Playbook
To use the role for installing awsnuke in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.awsnuke
To specify a different version of awsnuke:
- hosts: servers
roles:
- darkwizard242.awsnuke
vars:
awsnuke_version: 2.13.0
To change the installation path of the awsnuke binary:
- hosts: servers
roles:
- darkwizard242.awsnuke
vars:
awsnuke_bin_path: /bin/
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
Installs/Uninstalls 'aws-nuke' to destroy out all AWS resources.
Installa
ansible-galaxy install darkwizard242.awsnuke
Licenza
mit
Download
4.2k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!