Skip to content

Instantly share code, notes, and snippets.

@pixelbrackets
Created February 1, 2022 10:05
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 pixelbrackets/bbea24d372e2b29ad53924d69ce57c5b to your computer and use it in GitHub Desktop.
Save pixelbrackets/bbea24d372e2b29ad53924d69ce57c5b to your computer and use it in GitHub Desktop.
php-version-pickup Ansible Role
---
- name: Download/Update php-version-pickup
git:
repo: https://github.com/webit-de/php-version-pickup.git
dest: /home/{{ username }}/.php-version-pickup
clone: yes
update: yes
- name: Source script
lineinfile:
dest: /home/{{ username }}/.bashrc
line: 'source $HOME/.php-version-pickup/bin/php-version-pickup.sh'
state: present
@pixelbrackets
Copy link
Author

pixelbrackets commented Feb 1, 2022

Ansible Role to install php-version-pickup automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment