Created
May 1, 2016 21:39
-
-
Save cyberjso/bf76f40842ad8246338d24aa46aa0980 to your computer and use it in GitHub Desktop.
ansible-tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: send package to target host | |
copy: | |
src={{package_name}} | |
dest=/tmp/{{package_name}} | |
mode=0777 | |
- name: install service package | |
become: true | |
shell: "dpkg -i /tmp/{{package_name}}" | |
args: | |
executable: /bin/bash | |
notify: | |
- os-package started |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment