Commit Graph

9037 Commits (81aa3a760c5865541e8238480e67e01499631397)
 

Author SHA1 Message Date
Peter Sprygada 81aa3a760c Merge pull request #4730 from privateip/ios_template
fix bug in ios_template when include_defaults is set to true
8 years ago
Peter Sprygada 0a03d34916 Merge pull request #4729 from privateip/ios_config
adds path kwarg when performing config diff checks in ios_config
8 years ago
Peter Sprygada c3c964475c fix bug in ios_template when include_defaults is set to true
Module was ignoring  include_defaults argument.  This fixes the issue
such that the correct configuration is returned
8 years ago
Peter Sprygada 05887b8f86 adds path kwarg when performing config diff checks in ios_config 8 years ago
mlewe 37d08500c5 Fixes ansible/ansible#15922 (#3793) 8 years ago
Matt Ferrante 624f813f60 Properly support tag updates on CloudFormation stack-update actions (#3638) 8 years ago
Peter Sprygada 52fd4914ca Merge pull request #4561 from jedelman8/nxos_interface
removed feature check for nxos_interface
8 years ago
Peter Sprygada db18577df1 Merge pull request #4724 from privateip/eos_config
roll up of minor fixes in eos_config module
8 years ago
Peter Sprygada 87dc24b19e roll up of minor fixes in eos_config module
* fixes save argument to be type bool
* now properly sets the changed returned flag based on diff
* updates docstring RETURNS to add backup_path
* removes unneeded state argument

tested on EOS 4.15.4F
8 years ago
@skg_net 1d3a70a689 dnos10_template module 8 years ago
David J Peacock 3bede24323 description expanded for 112, AKA VRRP protocol) (#4645)
* description expanded for 112, AKA VRRP protocol)

* corrected syntax for description for IP protocols
8 years ago
Brian Coca 1d4c0abe29 added backup_file to module returns (#4723)
fixes #14502
also cleaned up some unused stuff and fixed imports
8 years ago
Peter Sprygada db38f0c876 Merge pull request #4719 from privateip/eos_template
minor bug fixes in eos_template
8 years ago
Peter Sprygada e464599632 minor bug fixes in eos_template
* fixes issue where configuration was not being loaded (#4704)
* fixes issue where defaults were not included when argument was set to True

tested on EOS 4.15.4F
8 years ago
Matt Davis 5a5c1491ae fix async_wrapper start suspended race (#4718)
Main thread in started-suspended process may not be immediately resumable on slow targets- poll for proper state for awhile before attempting resume
8 years ago
Matt Davis a746eff954 Windows async module support (#4710)
Powershell impls of async_wrapper, async_status- associated tests and async action changes are in https://github.com/ansible/ansible/pull/17400.
8 years ago
Brian Coca 8e0cc9d370 updated include_role docs 8 years ago
Dag Wieers dfb170cab9 Support DOS file attributes (e.g. archive-bit or hidden-bit) (#4705)
This fixes #4554
8 years ago
Peter Sprygada 635fa22753 Merge pull request #4708 from privateip/fix-4707
fixes issue where the configobjs are not deserialized to a list
8 years ago
Peter Sprygada e5419a2738 fixes issue where the configobjs are not deserialized to a list
When the configuration is compared and the results deserialized, the
dumps() function returns a string.  This cohereces the return to a list
in case before and/or after needs to be applied

fixes 4707
8 years ago
Peter Sprygada ecca37a959 Merge pull request #4699 from privateip/vyos_config
removes argument from vyos_config module
8 years ago
Peter Sprygada 0045cf31c5 Merge pull request #4687 from privateip/junos_command
add new functionality to junos_command module
8 years ago
Peter Sprygada f0e5a8c7ab Merge pull request #4688 from privateip/junos_netconf
update junos_netconf module
8 years ago
Peter Sprygada 4ab3492011 Merge pull request #4689 from privateip/junos_template
update junos_template module
8 years ago
Peter Sprygada eca9d0700d Merge pull request #4692 from privateip/junos_config
update junos_config module
8 years ago
Peter Sprygada 74ae5a6257 Merge pull request #4697 from privateip/nxos_config
updates nxos_config to remove state argument
8 years ago
Peter Sprygada a756d1baea Merge pull request #4696 from privateip/ops_config
removes state argument from ops_config module
8 years ago
Peter Sprygada eae87e21d9 Merge pull request #4698 from privateip/ios_config
removes state argument from ios_config
8 years ago
Peter Sprygada cba30b637a updates nxos_config to remove state argument
The state argument should not be in the nxos_config module.  This change
removes the state argument for this release
8 years ago
Peter Sprygada 989a2c7d0f removes argument from vyos_config module
The state argument should not be in vyos_config.  This commit removes the
state argument
8 years ago
Peter Sprygada e0f7912e37 removes state argument from ios_config
The state argument should not be in ios_config.  This change removes the
state argument
8 years ago
Peter Sprygada 330e323705 removes state argument from ops_config module
this removes the state argument from ops_config.  The state argument should
not have been there
8 years ago
Peter Sprygada a11a311b49 update junos_config module
* adds src argument to load configuration from disk
* adds src_format to set the source file format
* adds update argument with choices merge or replace
* deprecates the replace argument in favor of update=replace
8 years ago
Peter Sprygada 256730e997 add new functionality to junos_command module
* commands argument now accepts a dict arguments
* rpcs argument now accepts a dict argument
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Peter Sprygada ba8613cae9 update junos_netconf module
Updates the junos_netconf module with changes to load the
NetworkModule instead of the get_module factory method.  This
update is part of the 2.2 refactor of network modules
8 years ago
Peter Sprygada 0dfd3f177f update junos_template module
This updates the junos_template module implementing the changes for
Ansible 2.2
8 years ago
Matt Clay 982c4557d2 Python 3 fixes for async_wrapper and async_status. (#4671) 8 years ago
Matt Clay 05c6707a32 Make async_wrapper ignore '_' as an argsfile. (#4678)
This provides support for passing additional positional parameters to async_wrapper.
Additional parameters will be used by the upcoming async support for Windows.
8 years ago
scottb b0ef99c73b Merge pull request #4659 from dharmabumstead/update-command-module-operatoers
Added semicolon to invalid operators list redux.
8 years ago
Scott Butler 1b86d838b6 Added semicolon to invalid operators list redux. 8 years ago
Kenny Woodson 269c06a4c9 Fix for validate rule. Ensure rule is a dict. (#4640) 8 years ago
Evan Kaufman f7b34c810a Declare empty diff dict ahead of time (#4646)
Fixes #4634
8 years ago
Kenny Woodson 9b37dcb593 Getting rid of a None type error when no resource tags are defined. (#4638) 8 years ago
Toshio Kuratomi 42c74a0ce2 Python3 fixes to copy, file, and stat so that the connection integration tests can be run (#4632)
* Python3 fixes to copy, file, and stat so that the connection integration tests can be run

* Forgot to audit the helper functions as well.

* Fix dest to refledt b_dest (found by @mattclay)
8 years ago
Peter Sprygada baa2e930bb Merge pull request #4649 from privateip/ios_facts
bugfix that adds missing itertools import to ios_facts
8 years ago
Peter Sprygada 4c8bbae415 bugfix that adds missing itertools import to ios_facts
fixes #4647
8 years ago
Peter Sprygada 8f3ee22a17 Merge pull request #4599 from skg-net/devel
Added Command and Config modules to support Dell Networking OS10 device
8 years ago
Michael Scherer 5f652c7584 Add support for selinux_boolean_sub conversion (#4570)
SELinux since 2012 use a configuration file to
convert boolean names from a old name to a new name,
for preserving backward compatibility.

However, this has to be done explicitely when using the python
bindings, and the module was not doing it.

Openshift ansible script use this construct to detect if
a boolean exist or not:

    - name: Check for existence of virt_sandbox_use_nfs seboolean
      command: getsebool virt_sandbox_use_nfs
      register: virt_sandbox_use_nfs_output
      failed_when: false
      changed_when: false

    - name: Set seboolean to allow nfs storage plugin access from containers(sandbox)
      seboolean:
        name: virt_sandbox_use_nfs
        state: yes
        persistent: yes
      when: virt_sandbox_use_nfs_output.rc == 0

On a system where virt_sandbox_use_nfs do not exist, this work. But
on a system where virt_sandbox_use_nfs is a alias to virt_use_nfs (like
Fedora 24), this fail because the seboolean is not aware of the alias.
8 years ago
Toshio Kuratomi 7e79c59d38 to_text, to_bytes, and to_native now have surrogate_or_strict error handler (#4630)
On python3, we want to use the surrogateescape error handler if
available for filesystem paths and the like.  On python2, have to use
strict in these circumstances.  Use the new error strategy for to_text,
to_bytes, and to_native that allows this.
8 years ago
John R Barker ceddebaf28 Consistent naming of Arista EOS device (#4616) 8 years ago