Commit Graph

7868 Commits (6aa0cd445774ee925cfa376625f6b969ba131ee3)
 

Author SHA1 Message Date
Toshio Kuratomi 2e46c086ae Since we screenscrape output from git to tell us information we need to use the C locale when running commands.
Using another locale would mean that we get information that may have
the strings that we are looking for.

Fixes #2449
Fixes #2462
9 years ago
James Cammarata 4089f4af30 Fixing user_data version_added
Fixes #2634
9 years ago
chouseknecht 4e614d36bc Adding eos_eapi module. 9 years ago
chouseknecht f5a92e3565 Adding nxos_nxapi module. 9 years ago
Peter Sprygada 6c486cd341 bug fix for eos_config module
This addresses a bug in the eos_config module that would prevent it
from running properly.  The module should now properly process the config
and the candidate
9 years ago
Peter Sprygada 23f1d20a5c initial add of ios_template module
This adds a new module for working with IOS devices and building configurations
using templates.
9 years ago
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
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
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
Brian Coca 50bfacb0da Merge pull request #2947 from mattclay/user-check-mode-freebsd
Make modify_user honor check mode on FreeBSD.
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
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 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
Michael Scherer c01cc5f6e4 Do not use a shell construct for rhnreg_ks
Since there is no shell escape of the password parameter, a password with
a single quote (or even worst, a single quote and a pipe) could have
unattended consequences. Also, the less we use use_unsafe_shell=True, the
better.
9 years ago