| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| | |
fixes iosxr configure method to commit the changes
|
| | |
| |
| |
| |
| | |
The iosxr configure method did not send the commit command to active the
changes after pushed to the remote device. This change address that problem
|
| |/ |
|
| |\
| |
| | |
disable prompt timestamps upon successful connection to iosxr
|
| |/ |
|
| |\
| |
| | |
add commit keyword arg to load_config method
|
| | |
| |
| |
| |
| | |
this adds a new keyword arg to the load_config method that will control
whether or not a loaded configuration is committed on the device
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* attempt #11 to role_include
* fixes from jimi-c
* do not override load_data, move all to load
* removed debugging
* implemented tasks_from parameter, must break cache
* fixed issue with cache and tasks_from
* make resolution of from_tasks prioritize literal
* avoid role dependency dedupe when include_role
* fixed role deps and handlers are now loaded
* simplified code, enabled k=v parsing
used example from jimi-c
* load role defaults for task when include_role
* fixed issue with from_Tasks overriding all subdirs
* corrected priority order of main candidates
* made tasks_from a more generic interface to roles
* fix block inheritance and handler order
* allow vars: clause into included role
* pull vars already processed vs from raw data
* fix from jimi-c blocks i broke
* added back append for dynamic includes
* only allow for basename in from parameter
* fix for docs when no default
* fixed notes
* added include_role to changelog
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
If someone use a task with a empty name like this:
- name:
command: true
This will result in displaying 'None' as a task name instead of
'command'.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add OpenBSD virtualization facts.
Patch written by @jasperla.
Tested by various people on:
- virtualbox
- vmware esx(i) + fusion
- kvm (smartos + plain linux + a random cloud provider)
This patch is already present in the OpenBSD port of ansible.
* Rework diff to get rid of extra returns.
Requested by @bcoca.
While here, use four-space indentations of all code blocks.
* Set facts even if no match is found.
Discussed with @bcoca.
* Find sysctl via get_bin_path().
Requested by @bcoca.
* Fail if we do not find a sysctl binary.
* Do not fail if a sysctl binary is not found.
Just set empty fact values instead.
Requested by @bcoca.
|
| | |
| |
| |
| |
| |
| | |
There was general consensus that displaying every plugin load on -vvv
was *way* too noisy. This commit reformats the log message to be less
verbose, and drops it down to debugging-only level.
|
| | |
| |
| |
| | |
tempfile.NamedTemporaryFile keeps a file handle causing os.rename() to fail with windows based vboxfs: [Errno 26] Text file busy.
Changed NamedTemporaryFile to mkstemp() and added a finally block to unlink the temp file in each and every case.
|
| | |
| |
| |
| |
| |
| |
| | |
AnsibleError is not imported in that file, and since that's
a parsing time issue, better raise AnsibleParserError like the
rest of the file.
Issue signaled on irc by gordon`
|
| | |
| |
| |
| |
| |
| | |
* run_command needed a bit of tweaking to its string handling of
arguments.
* The run_command change fixes the last bit of lineinfile so we can
enable its tests
|
| | | |
|
| |/
|
|
| |
Fetch always follows symlinks when downloading so it needs to always
follow symlinks when getting the checksum of the file as well.
|
| |\
| |
| | |
adds new property command_string to Command object
|
| | |
| |
| |
| |
| |
| |
| | |
This adds a new property to the Command object that is used to hold
modified command strings that could be different from the command used
to create the object. This allows for seamless switch between text and
json enabled commands.
|
| |\ \
| |/
|/| |
implements command_string property when preparing commands
|
| |/
|
|
|
| |
* commands that need | json added now use command_string property
* adds additonal keyword args in exception handling for json commands
|
| |
|
|
| |
Fixes #17185
|
| |
|
|
| |
Fix filetree lookup plugin for python3 (octal output and selinux API
takes native strings)
|
| |\
| |
| | |
Couple things to watch out for when reviewing facts modules
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
To override a generic class that is subclassed based on platform, the
subclass must define platform and distribution.
The load_platform_subclass() calls the get_platform() and
get_distribution() methods to detect the platform and the distribution.
On Alpine Linux, get_distribution() method returns None and it is not
possible to have different implementations based on detected platform.
|
| |
|
|
|
|
|
| |
groups['x']|map('extract', hostvars, 'somevar') would break if any host
didn't have 'somevar' set. With this change, it will return Undefined
instead. This change permits |map('extract', …)|map('default', 42) to
set a default value in such cases.
|
| |
|
|
|
| |
The 'when' clause supports a list of conditions, applying a logical 'and' to the conditions (i.e. requiring all of them to be true).
This can be useful for legibility sometimes, allowing distinct conditions to be listed on separate lines.
|
| |
|
| |
The option to generate a password is --method=sha-512 instead of --method=SHA-512 which produces a hash not found error
|
| | |
|
| |\
| |
| | |
initial add of shared modules for supporting Nokia SROS devices
|
| |/
|
|
|
|
| |
This adds a cli transport, netcfg, and netcli implementations for working
with devices running Nokia SROS. There is also an update to netcfg
to support the sros config file format.
|
| |
|
|
|
| |
- Fix octal formatting of file mode in module response on py3.
- Convert file path to unicode in copy action.
- Enable file and copy module tests for py3 now that they pass.
|
| |
|
|
|
|
|
|
|
|
| |
one left) (#17240)
Make some python3 fixes to make the unittests pass:
* galaxy imports
* dictionary iteration in role requirements
* swap_stdout helper for unittests
* Normalize to text string in a facts.py function
|
| | |
|
| |\
| |
| | |
Update CHANGELOG for new os_server_group module
|
| |/ |
|
| |\
| |
| | |
ipaddr filter properly handle addresses on /31 networks
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
update ios doc fragments
|
| | | |
| | |
| | |
| | | |
removes invalid shared arguments from fragment
|
| | | | |
|
| | | | |
|