Commit Graph

8483 Commits (5101c2563b787680435102a459bf627e010d9ea9)
 

Author SHA1 Message Date
Peter Sprygada d05ceb9e28 initial add of ios_config module
This adds a new module ios_config that can be used for configuring
IOS devices.
9 years ago
Peter Sprygada d64ae18307 bug fix on parameter in eos_config
The eos_config module has a bug where its trying to pass an argument
that doesn't exist.  This fixes that problem, removing the offending
keywork argment
9 years ago
Peter Sprygada 0df3a0e501 Merge pull request #2941 from privateip/module_eos_template
initial add of new module eos_template
9 years ago
Peter Sprygada 9ee5dc12b6 Merge pull request #2872 from privateip/module_eos_command
initial add of eos_command module
9 years ago
Peter Sprygada 6702496781 Merge pull request #2862 from privateip/module_eos_config
initial add of eos_config module
9 years ago
Peter Sprygada b7c2878136 initial add of eos_config module
This adds a new module for pushing configuraitons to eos devices in a
reliable and repeatable fashion.  It includes support for templating
configurations and backing up the current config prior to pushing out
changes.  This module works over either CLI or EAPI.

This PR has a dependency on ansible/ansible PR #14009 being merged
9 years ago
Peter Sprygada fca78058db fixup docstring in nxos_config module 9 years ago
Peter Sprygada 82a051d150 Merge pull request #2897 from privateip/module_nxos_command
initial add of new module nxos_command
9 years ago
Peter Sprygada 6cddd47e67 Merge pull request #2942 from privateip/module_nxos_template
initial add of nxos_template module
9 years ago
Peter Sprygada 5606dec038 Merge pull request #2857 from privateip/module_nxos_config
initial add of new nxos_config module
9 years ago
Scott Brown 2f329f832e Fixing missing interpolation variable 9 years ago
Toshio Kuratomi 2ec9f67282 Merge pull request #2975 from ansible/vsphere-validate-older-pythons
Make validate_certs for vsphere_guest work with older python2
9 years ago
Toshio Kuratomi f5cdcfa1d9 Make validate_certs for vsphere_guest work with older python2 9 years ago
Chrrrles Paul 2ec5e87a2e Merge pull request #2974 from chrrrles/apt-autoremove
adding autoremove to apt - Fixing this PR I had accidentally closed: 
https://github.com/ansible/ansible-modules-core/pull/2946
9 years ago
Charles Paul d7a0a3b7e3 adding autoremove to apt 9 years ago
Tobias Gesellchen 60e37e6fda add `env_file` support (original code from @vpetersson) 9 years ago
Ashwanth Kumar 3150c094b5 Doing exponential backoff on route53 upon AWS throttling 9 years ago
Matt Davis a6605c9c6f Merge pull request #2955 from stewrutledge/insecure
Add parameter for ignoring cert errors
9 years ago
Brian Coca 20dc8bdce0 Merge pull request #2957 from mattclay/user-check-mode-osx
Make modify_user honor check mode on OS X.
9 years ago
Peter Sprygada ef8df6c0ec initial add of new nxos_config module
This adds a new module for managing configuraiton files for Cisco NXOS
devices.  It provides configuration file management including templating
and backing up the current configuration.

This PR has a dependency on ansible/ansible PR # 14012
9 years ago
Toshio Kuratomi e1ec52e365 Re-add version_added to fireball docs 9 years ago
Toshio Kuratomi 2c3a85902c Fireball was removed in 2.0 (action plugin is gone).
This commit removes the helper module that wouldn't work without the
action module and tells users what to use instead.
9 years ago
Toshio Kuratomi 63fda10853 Merge pull request #1458 from Tahvok/patch-1
Explain that state=present should be used with yum and url
9 years ago
Matt Clay 151f981ce5 Make modify_user honor check mode on OS X. 9 years ago
Stewart Rutledge 6d749b22bc Merge branch 'insecure' of github.com:stewrutledge/ansible-modules-core into insecure 9 years ago
Matt Clay 2645113eda Make modify_user_usermod honor check mode on AIX. 9 years ago
Stewart Rutledge c24f758a02 Changed insecure to validate_certs, with a default to true from false (reversing behavior) 9 years ago
Stewart Rutledge c13efdbd2b Added support for insecure parameter 9 years ago
Toshio Kuratomi 6ff4c4cb71 Add example of using non-posix shellisms to raw and shell
Fixes #14262
9 years ago
Luca Berruti d820be81e5 Typo. 9 years ago
Brian Coca 50bfacb0da Merge pull request #2947 from mattclay/user-check-mode-freebsd
Make modify_user honor check mode on FreeBSD.
9 years ago
David Shrewsbury 092791dc2c Fix for os_server module when specifying region
Fix the OpenStack os_server module for when region_name is specified.
This should not be passed through to the shade create_server() call
as it's only used with the auth parameters.

Fixes bug: https://github.com/ansible/ansible-modules-core/issues/2797
9 years ago
Matt Clay 8bb538aeb1 Make modify_user honor check mode on FreeBSD. 9 years ago
Toshio Kuratomi 29b81a4153 Merge pull request #2826 from shawnsilva/cloudformation-req-params
The parameters 'template' and 'template_url' are incorrectly required in all cases in the cloudformation module
9 years ago
Toshio Kuratomi a5667e51ad Merge pull request #2660 from mscherer/fix_rhn_register
Do not use a shell construct for rhnreg_ks
9 years ago
Peter Sprygada 25dee10814 initial add of nxos_template module
The nxos_template module worksw by allowing configurations to be pushed
to Cisco NXOS devices over CLI or NXAPI and templated using the Ansible
Jinja2 template engine
9 years ago
Peter Sprygada d29db07fab initial add of new module eos_template
The eos_template module works by allowing configurations to be pushed
to Arista EOS devices that can be templated by the Ansible Jinja2
template engine
9 years ago
Peter Sprygada 332c6a56c5 initial add of eos_command module
This adds a new module eos_command to network/eos.  The eos_command module
is used for sending arbitrary commands to Arista EOS devices.  It includes
arguments that allow the module to wait for specific values before the
module returns control to the playbook or fails
9 years ago
Brian Coca 3e6a685bd3 Merge pull request #2925 from mattclay/apt-repository-check-mode
Show error if python-apt is absent in check mode.
9 years ago
Ryan-Neal Mes c30bca6808 Indented code so it only executes tag comparison for matching cird values 9 years ago
Peter Sprygada 32e238a8f0 initial add of new module nxos_command
This adds a new module nxos_command that can be used to send arbitrary
commands to NXOS devices.  The module includes an argument that allows
the responses to be evaluated and causes the module not to return
control to the playbook until a set of conditions has been met.
9 years ago
Matt Clay e56d668ade Split shell command to avoid use_unsafe_shell.
This mirrors a nearly identical change made to apt_repository.py.

Also removes the use of apt-get --force-yes as it can be dangerous
and should not be necessary (apt_repository.py does not use it).

Repeating the explanation from the apt_respository change below:

Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to thoroughly inspect for a security audit.

In this case, the '&&' can be replaced by doing 2 calls to run_command.
9 years ago
Matt Clay 7a82f2c86d Show error if python-apt is absent in check mode.
Previously this would fail with an exception which
did not clearly explain the reason for the failure.
9 years ago
Michal Svab 2c3ef42d92 Clarify get_url timeout documentation 9 years ago
Toshio Kuratomi 93d02189f6 Remove duplicate documentation fields 9 years ago
Barry Peddycord III a398a36a9d Removing alpha-stage modules. 9 years ago
Tobias Wolf 99ba594f0a Add diff for both file contents and file attributes to lineinfile
Using the difflist feature added in ansible/ansible@c337293 we can add
two diffs to the `diff` dict returned as JSON: A `before` and `after` pair of
changed file contents and the diff of the file attributes.

n.b.: the difflist handling from the above commit is logically broken.
PR will follow.

Example output:

    TASK [change line and mode] ************************************************************
    changed: [localhost]
    --- before: /tmp/sshd_config (content)
    +++ after: /tmp/sshd_config (content)
    @@ -65,21 +65,21 @@
     X11DisplayOffset 10
     PrintMotd no
     PrintLastLog yes
     TCPKeepAlive yes
     #UseLogin no

     #MaxStartups 10:30:60
     #Banner /etc/issue.net

     # Allow client to pass locale environment variables
    -AcceptEnv LANG LC_*
    +AcceptEnv        LANG LC_* GF_ENV_*

     Subsystem sftp /usr/lib/openssh/sftp-server

     # Set this to 'yes' to enable PAM authentication, account processing,
     # and session processing. If this is enabled, PAM authentication will
     # be allowed through the ChallengeResponseAuthentication and
     # PasswordAuthentication.  Depending on your PAM configuration,
     # PAM authentication via ChallengeResponseAuthentication may bypass
     # the setting of "PermitRootLogin without-password".
     # If you just want the PAM account and session checks to run without

    --- before: /tmp/sshd_config (file attributes)
    +++ after: /tmp/sshd_config (file attributes)
    @@ -1,3 +1,3 @@
     {
    -    "mode": "0700"
    +    "mode": "0644"
     }
9 years ago
Toshio Kuratomi c8d5fdaf27 Merge pull request #2891 from ansible/synchronize-better-error-missing-rsync
Better error message when rsync nad ssh aren't present where synchronize is run
9 years ago
Toshio Kuratomi cb1fefdf92 Better error message when rsync nad ssh aren't present where synchronize is run
Fixes https://github.com/ansible/ansible/issues/9305
9 years ago
Brian Coca 3239691e9e Merge pull request #2870 from towolf/add_diff_to_synchronize
Add custom diff field to synchronize module
9 years ago