Commit Graph

22725 Commits (33397490170d5ec3f5752055e9dbe767b5ea6971)
 

Author SHA1 Message Date
Gerard Lynch 3339749017 order params, add missing tag param. update examples 8 years ago
Toshio Kuratomi 29cfd80220 Fix improper indentation 8 years ago
skylerbunny dabf94ab1f Explanation of privilege escalation in notes
An attempt to make clear how privilege escalation works with respect to the src/source host and dest/destination host. One existing note was incorporated into three new ones, iterating each.
8 years ago
Toshio Kuratomi 8ce7348d52 Rename powershell versions of setup and slurp so they don't shadow the python versions of these modules.
This change goes along with https://github.com/ansible/ansible/02502c5727753d02819cb32b94dc2035b65d81a7
8 years ago
Evan Carter 5cd3217fc8 fixing termination policies for ec2_asg 8 years ago
Evan Carter e9c04cfdfd Fixing bug #2058 and adding some backwards compatibility 8 years ago
Brian Coca 99159b3cdd changed chmod to 2.4 compat 8 years ago
Rob 4f9bb86e58 Add exception handling to iam 8 years ago
wimnat 540061c9fc Remove unnecessary json.loads 8 years ago
Tom Fotherby 135e7c60de Fix #1984 - allow load_balancer_port as a variable 8 years ago
Abitha Palaniappan d26bff8162 Add support for port-id,port-name to nics in os_server 8 years ago
Sam Mingo 75473c0fd0 Update get_url.py
Fixed typo with header parameter to get_url in the documentation.
8 years ago
Victor Costan 8d9768c049 Fix indentation in os_server documentation 8 years ago
Yanchek99 ebbd206e86 Fixed typo for instance_tags documentation 8 years ago
David Dyball cdff62643b Updated PR based on comments 8 years ago
Taneli Lepp fb317c72b6 Added option to set multiple ACLs for S3 objects. Also verifies the selected permissions against Boto's canned ACL strings list. 8 years ago
Bret Martin b1c5b17155 Use general-purpose parameter mutual exclusion code for network_interfaces 8 years ago
Bret Martin 0afa813324 Add alias `network_interface` and accept a string for a single ENI 8 years ago
Bret Martin df8b2d45bc Add network_interfaces example 8 years ago
Bret Martin 96d8401fb4 Remove aliases specification from documentation since there are none 8 years ago
Brian Coca 281a92bbdd corrected whitepace 8 years ago
Toshio Kuratomi b952dff2c1 correct documentation formatting 8 years ago
Victor Costan 2f11d96d49 os_server: nice error when flavor not found
When we can't find the VM flavor that the user requests, this change replaces the non-descript stack trace with a clear error message.
8 years ago
Bret Martin df713192b4 Add network_interfaces parameter to ec2 module to support launch-time ENIs 8 years ago
Toshio Kuratomi b3262479e9 Fix read-only usage to depend on the docker-py and docker server version 8 years ago
Toshio Kuratomi 13ab511642 We had two separate methods trying to do the same thing but neither one was complete. This merges them so that all of the options get parsed and applied. 8 years ago
Toshio Kuratomi 33f5afa779 Make sure listener ports are ints.
May fix #1984
8 years ago
Brian Coca 917b7071d6 partially reverted previous change to deal with systemctl show status not returning errors on missing service Now it looks for not-found key instead of running status which does return error codes when service is present but in diff states. fixes #12216 8 years ago
James Martin c90bf9df98 Adds sanity check to make sure nics is a list. 8 years ago
Charles Paul 6011381bf0 vm_floppy 2.0 support 8 years ago
Chrrrles Paul 1ae0427d4e Revert "Add 2.0 docs - Revert "add virtual floppy to VMware guest"" 8 years ago
Chrrrles Paul e8aaed3bbb Revert "add virtual floppy to VMware guest" 8 years ago
Brian Coca fd23120d42 check systemctl status before show as show will not return antyhing other than rc=0 even when it fails. 8 years ago
Colin Hutchinson 9d77cef5be Remove the sample SHA256
putting a full sha256 made the width of the table in the generated docs not fit on some screens
8 years ago
Tony Kinsley 79f98bffcf Adding start and stop actions to os_server_actions
Also making the os_server module allow a server in the possible new
states from the os_server_actions changes
8 years ago
Chris Church 9ed0a5a920 * Update core modules to fix strict mode errors. * Also fix creates parameter issue in win_msi as described in https://github.com/ansible/ansible-modules-core/issues/129, slightly different fix from https://github.com/ansible/ansible-modules-core/pull/1482 * Fix setup.ps1 module issue described in https://github.com/ansible/ansible-modules-core/issues/1927 8 years ago
Bruno Galindro da Costa 6f36629d13 Added termination_policies option 8 years ago
Jérémie Astori 6695cc5c21 Fix physical walk on acl module for Linux
`-h` is for BSD [1] while `-P`/`--physical` is for Linux [2].
This commit fixes that option now that acl module is (temporarily)
only supported for Linux.
I will re-add `-h` when fixing BSD support.

[1]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1)
[2]: http://linuxcommand.org/man_pages/setfacl1.html
8 years ago
Jérémie Astori 186cc7cb17 Make sure entry is not sent when acl state=query 8 years ago
Jérémie Astori 3568f1cd78 Make sure permission-less entries are accepted when state=absent
Also, remove that try condition as, at that stage, no permissions with
other than 2 or 3 fields are sent to the function.
8 years ago
Jérémie Astori a93445c798 Remove support for `d[efault]:` in entry permissions
It is not documented in [the Ansible doc page][1] nor
[the BSD setfacl man entry][2] (which means it might not be compatible
with BSD) so removing it does not break the API.

On the other hand, it does not conform with POSIX 1003.1e DRAFT
STANDARD 17 according to the [Linux setfacl man entry][3] so safer to
remove.

Finally, the most important reason: in non POSIX 1003.e mode, only ACL
entries without the permissions field are accepted, so having an
optional field here is very much error-prone.

[1]: http://docs.ansible.com/ansible/acl_module.html
[2]: http://www.freebsd.org/cgi/man.cgi?format=html&query=setfacl(1)
[3]: http://linuxcommand.org/man_pages/setfacl1.html
8 years ago
Toshio Kuratomi ffbd1efaa7 Remove non-ascii quote char 8 years ago
Rick Mendes 8048c4482a using single device_id and enabling release on disassociation 8 years ago
Marius Gedminas b2fc74337a authorized_key: fix example in documentation
'key=' cannot be pointing to a file name; it needs to be the key itself as a string (or a URL).
8 years ago
Tim Rupp 223cac3f39 Add hostname support for Kali linux 2.0
This patch allows the hostname module to detect and set the hostname for a
Kali Linux 2.0 installation. Without this patch, the hostname module raises
the following error

   hostname module cannot be used on platform Linux (Kali)

Kali is based off of Debian.
8 years ago
Luke aa9b8b8552 removed hyphens in module name in examples 8 years ago
Timothy Appnel 488749500e Clarified and cleaned up grammar of error messages. 8 years ago
Timothy Appnel d811a51744 Fixed call to undefined attribute when RDS module timeouts waiting. 8 years ago
Marius Gedminas f97d00fbad user: don't generate SSH keys in check mode
Fixes https://github.com/ansible/ansible/issues/11768

Test plan:

- (in a Vagrant VM) created a user 'bob' with no ssh key
- ran the following playbook in check mode:

    ---
    - hosts: trusty
      tasks:
        - user: name=bob state=present generate_ssh_key=yes

- saw that ansible-playbook reported "changes=1"
- saw that /home/bob/.ssh was still absent
- ran the playbook for real
- saw that /home/bob/.ssh was created
- ran the playbook in check mode again
- saw that ansible-playbook reported no changes
- tried a variation with a different username for a user that didn't
  exist: ansible-playbook --check worked correctly (no errors, reported
  "changed")
8 years ago
Marius Gedminas 270c2e8bbd apt: check for "0 upgraded" to be at the beginning of the line
Fixes #1678.
8 years ago