Created
November 4, 2016 18:18
-
-
Save kylegato/55d86b802107a9780abcbdadd1a5b0d6 to your computer and use it in GitHub Desktop.
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
ansible-git-repo: | |
git.latest: | |
- name: ssh://git@stash.pv.company.com:7999/wd/ansible.git | |
- rev: master | |
- target: /opt/ansible-git-repo | |
- identity: salt://ssh/etc/keys/wd.key | |
[salt@salt /usr/local/etc/salt/states]$ salt 'jenkins-slave1.*' state.sls jenkins.ansible -v | |
Executing job with jid 20161104111732079230 | |
------------------------------------------- | |
jenkins-slave1.pv.wiredrive.com: | |
---------- | |
ID: ansible-git-repo | |
Function: git.latest | |
Name: ssh://git@stash.pv.company.com:7999/wd/ansible.git | |
Result: False | |
Comment: identity 'salt://ssh/etc/keys/wd.key' is not an absolute path | |
Started: 10:21:53.426696 | |
Duration: 0.622 ms | |
Changes: | |
---------- | |
Summary for jenkins-slave1.pv.company.com | |
------------ | |
Succeeded: 0 (changed=1) | |
Failed: 1 | |
------------ | |
Total states run: 1 | |
Total run time: 75.369 ms | |
ERROR: Minions returned with non-zero exit code | |
[salt@salt /usr/local/etc/salt/states]$ stat ssh/etc/keys/wd.key | |
1939526710 459841 -rw-r--r-- 1 salt salt 4294967295 1675 "Apr 8 15:19:10 2016" "Apr 8 15:19:10 2016" "Apr 8 15:19:10 2016" "Apr 8 15:19:10 2016" 4096 9 0x800 ssh/etc/keys/wd.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment