Skip to content

lpenz/ansible-playbooks

Repository files navigation

CI

lpenz ansible provisioner

This repository store an ansible provisioner that configures my environments in a given Linux system. It is based on ansible-pull operation.

  • My user configuration, with everything that does not require X:

    ansible-playbook -i localhost, -c local -u "$USER" playbook-user-term.yml

    Or, remotely (no download required):

    ansible-pull -U https://github.com/lpenz/ansible-playbooks.git -i localhost, -c local -u "$USER" playbook-user-term.yml
  • Configurations that require sudo, mostly installing packages and repositories - including my apt repository at packagecloud.io:

    ansible-playbook -i localhost, -c local playbook-sudo-term.yml -K

    Or, remotely (no download required):

    ansible-pull -U https://github.com/lpenz/ansible-playbooks.git -i localhost, -c local playbook-sudo-term.yml -K
  • Configurations that require X, in the same order:

    ansible-playbook -i localhost, -c local playbook-user-x.yml -K
    ansible-pull -U https://github.com/lpenz/ansible-playbooks.git -i localhost, -c local -u "$USER" playbook-user-x.yml -K
    ansible-playbook -i localhost, -c local playbook-sudo-x.yml -K
    ansible-pull -U https://github.com/lpenz/ansible-playbooks.git -i localhost, -c local playbook-sudo-x.yml -K

About

My personal ansible playbooks that provision my environment and machines

Topics

Resources

License

Stars

Watchers

Forks