Skip to content

Instantly share code, notes, and snippets.

@carreirorco
Last active August 29, 2021 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carreirorco/d01efd2080b9f528b7bf0ce2295bae76 to your computer and use it in GitHub Desktop.
Save carreirorco/d01efd2080b9f528b7bf0ce2295bae76 to your computer and use it in GitHub Desktop.
install_jaredhocutt.gnome_extensions_ansible_role.sh
###
# Criar o diretório e acessá-lo
###
mkdir lab_ansible ; cd lab_ansible
###
# Criar o playbook que utilizará a role citada
###
echo '- hosts: localhost
roles:
- role: jaredhocutt.gnome_extensions
vars:
gnome_extension_ids:
- 779 # Clipboard Indicator by Tudmotu' > InstallGnomeExtensions.yml
###
# Baixar e instalar a role no diretório atual
###
ansible-galaxy install jaredhocutt.gnome_extensions -p roles
###
# Executar o playbook
###
ansible-playbook InstallGnomeExtensions.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment