Created
September 27, 2016 12:09
-
-
Save xen0l/822845ec7d091ed048bbc24c3b0e924e to your computer and use it in GitHub Desktop.
Revisions
-
xen0l created this gist
Sep 27, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # If you want to run this as a non-root user, assign "Zone Management" RBAC profile to non-root account. root@openindiana:/root/ansible# ansible www -m ping www | SUCCESS => { "changed": false, "ping": "pong" } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ www ansible_connection=zone This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ --- - name: install vim hosts: www tasks: - pkg5: name=vim state=present