Last active
December 31, 2017 18:51
-
-
Save jkkitakita/205c1d194f1d155b8e1203c0f457c937 to your computer and use it in GitHub Desktop.
[ansible] ansible-galaxyにWatcherのrole公開してみた。 ref: https://qiita.com/jkkitakita/items/525f89c99b77a9579edc
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
~ ❯❯❯ mkdir ansible | |
~ ❯❯❯ cd ansible | |
~/ansible ❯❯❯ ansible-galaxy init ansible-role-watcher | |
- ansible-role-watcher was created successfully | |
~/ansible ❯❯❯ ll | |
total 0 | |
drwxr-xr-x 14 kitamurajun staff 476 12 18 14:10 ansible-role-watcher | |
~/ansible ❯❯❯ ll ansible-role-watcher | |
total 8 | |
-rw-r--r-- 1 kitamurajun staff 681 12 18 13:05 README.md | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 defaults | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 files | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 handlers | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 meta | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 tasks | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 templates | |
drwxr-xr-x 4 kitamurajun staff 136 12 18 13:05 tests | |
drwxr-xr-x 3 kitamurajun staff 102 12 18 13:05 vars |
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
git remote add origin git@github.com:jkkitakita/ansible-role-watcher.git | |
git push -u origin master | |
git tag v1.0.0 | |
git push --tags |
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
~/d/ansible ❯❯❯ ansible-galaxy install jkkitakita.watcher | |
- downloading role 'watcher', owned by jkkitakita | |
- downloading role from https://github.com/jkkitakita/ansible-role-watcher/archive/v1.0.0.tar.gz | |
- extracting jkkitakita.watcher to /Users/kitamurajun/darunia-infra/ansible/roles/jkkitakita.watcher | |
- jkkitakita.watcher was installed successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment