Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
3d2a056a
Commit
3d2a056a
authored
Apr 13, 2015
by
Amandine Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import futures including print
parent
62c08d96
Hide whitespace changes
Inline
Side-by-side
Showing
76 changed files
with
174 additions
and
11 deletions
+174
-11
v2/ansible/executor/playbook_executor.py
+1
-1
v2/ansible/inventory/__init__.py
+3
-0
v2/ansible/inventory/dir.py
+2
-0
v2/ansible/inventory/expand_hosts.py
+3
-0
v2/ansible/inventory/group.py
+2
-0
v2/ansible/inventory/ini.py
+2
-0
v2/ansible/inventory/script.py
+2
-0
v2/ansible/inventory/vars_plugins/noop.py
+2
-0
v2/ansible/parsing/utils/jsonify.py
+20
-1
v2/ansible/playbook/helpers.py
+2
-0
v2/ansible/playbook/play.py
+1
-1
v2/ansible/plugins/action/assemble.py
+2
-0
v2/ansible/plugins/action/assert.py
+2
-0
v2/ansible/plugins/action/async.py
+2
-0
v2/ansible/plugins/action/debug.py
+2
-0
v2/ansible/plugins/action/fail.py
+2
-0
v2/ansible/plugins/action/fetch.py
+2
-0
v2/ansible/plugins/action/group_by.py
+2
-0
v2/ansible/plugins/action/include_vars.py
+2
-0
v2/ansible/plugins/action/normal.py
+2
-0
v2/ansible/plugins/action/pause.py
+2
-0
v2/ansible/plugins/action/raw.py
+2
-0
v2/ansible/plugins/action/script.py
+2
-0
v2/ansible/plugins/action/set_fact.py
+2
-0
v2/ansible/plugins/action/synchronize.py
+2
-0
v2/ansible/plugins/action/template.py
+2
-0
v2/ansible/plugins/action/unarchive.py
+2
-0
v2/ansible/plugins/cache/__init__.py
+2
-0
v2/ansible/plugins/cache/base.py
+2
-0
v2/ansible/plugins/cache/memcached.py
+2
-0
v2/ansible/plugins/cache/memory.py
+2
-0
v2/ansible/plugins/cache/redis.py
+2
-2
v2/ansible/plugins/connections/accelerate.py
+2
-0
v2/ansible/plugins/connections/chroot.py
+2
-0
v2/ansible/plugins/connections/funcd.py
+3
-0
v2/ansible/plugins/connections/jail.py
+2
-0
v2/ansible/plugins/connections/libvirt_lxc.py
+2
-0
v2/ansible/plugins/connections/local.py
+2
-0
v2/ansible/plugins/connections/paramiko_ssh.py
+2
-1
v2/ansible/plugins/connections/ssh.py
+2
-0
v2/ansible/plugins/connections/winrm.py
+2
-2
v2/ansible/plugins/inventory/directory.py
+1
-1
v2/ansible/plugins/lookup/cartesian.py
+2
-0
v2/ansible/plugins/lookup/csvfile.py
+2
-0
v2/ansible/plugins/lookup/dict.py
+2
-0
v2/ansible/plugins/lookup/dnstxt.py
+2
-0
v2/ansible/plugins/lookup/env.py
+2
-0
v2/ansible/plugins/lookup/etcd.py
+2
-0
v2/ansible/plugins/lookup/file.py
+2
-0
v2/ansible/plugins/lookup/fileglob.py
+2
-0
v2/ansible/plugins/lookup/first_found.py
+2
-0
v2/ansible/plugins/lookup/flattened.py
+2
-1
v2/ansible/plugins/lookup/indexed_items.py
+2
-0
v2/ansible/plugins/lookup/inventory_hostnames.py
+3
-0
v2/ansible/plugins/lookup/items.py
+2
-0
v2/ansible/plugins/lookup/lines.py
+3
-1
v2/ansible/plugins/lookup/nested.py
+2
-0
v2/ansible/plugins/lookup/password.py
+2
-0
v2/ansible/plugins/lookup/pipe.py
+2
-0
v2/ansible/plugins/lookup/random_choice.py
+2
-0
v2/ansible/plugins/lookup/redis_kv.py
+2
-0
v2/ansible/plugins/lookup/sequence.py
+2
-0
v2/ansible/plugins/lookup/subelements.py
+2
-0
v2/ansible/plugins/lookup/template.py
+2
-0
v2/ansible/plugins/lookup/together.py
+2
-0
v2/ansible/plugins/lookup/url.py
+2
-0
v2/ansible/plugins/shell/csh.py
+2
-0
v2/ansible/plugins/shell/fish.py
+2
-0
v2/ansible/plugins/shell/powershell.py
+2
-0
v2/ansible/plugins/shell/sh.py
+2
-0
v2/ansible/template/safe_eval.py
+2
-0
v2/ansible/utils/color.py
+2
-0
v2/ansible/utils/debug.py
+3
-0
v2/ansible/utils/display.py
+2
-0
v2/ansible/utils/encrypt.py
+3
-0
v2/ansible/utils/path.py
+2
-0
No files found.
v2/ansible/executor/playbook_executor.py
View file @
3d2a056a
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Make coding more python3-ish
# Make coding more python3-ish
from
__future__
import
(
absolute_import
,
division
)
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
__metaclass__
=
type
import
signal
import
signal
...
...
v2/ansible/inventory/__init__.py
View file @
3d2a056a
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#############################################
#############################################
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
fnmatch
import
fnmatch
import
os
import
os
import
sys
import
sys
...
...
v2/ansible/inventory/dir.py
View file @
3d2a056a
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#############################################
#############################################
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/inventory/expand_hosts.py
View file @
3d2a056a
...
@@ -30,6 +30,9 @@ expanded into 001, 002 ...009, 010.
...
@@ -30,6 +30,9 @@ expanded into 001, 002 ...009, 010.
Note that when beg is specified with left zero padding, then the length of
Note that when beg is specified with left zero padding, then the length of
end must be the same as that of beg, else an exception is raised.
end must be the same as that of beg, else an exception is raised.
'''
'''
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
string
import
string
from
ansible
import
errors
from
ansible
import
errors
...
...
v2/ansible/inventory/group.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.utils.debug
import
debug
from
ansible.utils.debug
import
debug
...
...
v2/ansible/inventory/ini.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#############################################
#############################################
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
ast
import
ast
import
shlex
import
shlex
...
...
v2/ansible/inventory/script.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#############################################
#############################################
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
subprocess
import
subprocess
...
...
v2/ansible/inventory/vars_plugins/noop.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
class
VarsModule
(
object
):
class
VarsModule
(
object
):
...
...
v2/ansible/parsing/utils/jsonify.py
View file @
3d2a056a
# FIXME: header
# (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Make coding more python3-ish
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
try
:
try
:
import
json
import
json
...
...
v2/ansible/playbook/helpers.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/playbook/play.py
View file @
3d2a056a
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# Make coding more python3-ish
# Make coding more python3-ish
from
__future__
import
(
absolute_import
,
division
)
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
__metaclass__
=
type
from
ansible.errors
import
AnsibleError
,
AnsibleParserError
from
ansible.errors
import
AnsibleError
,
AnsibleParserError
...
...
v2/ansible/plugins/action/assemble.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
os.path
import
os.path
...
...
v2/ansible/plugins/action/assert.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
AnsibleError
from
ansible.errors
import
AnsibleError
from
ansible.playbook.conditional
import
Conditional
from
ansible.playbook.conditional
import
Conditional
...
...
v2/ansible/plugins/action/async.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
json
import
json
import
random
import
random
...
...
v2/ansible/plugins/action/debug.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
from
ansible.utils.boolean
import
boolean
from
ansible.utils.boolean
import
boolean
...
...
v2/ansible/plugins/action/fail.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
...
...
v2/ansible/plugins/action/fetch.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
pwd
import
pwd
...
...
v2/ansible/plugins/action/group_by.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
*
from
ansible.errors
import
*
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
...
...
v2/ansible/plugins/action/include_vars.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/action/normal.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
...
...
v2/ansible/plugins/action/pause.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
datetime
import
datetime
import
sys
import
sys
...
...
v2/ansible/plugins/action/raw.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
...
...
v2/ansible/plugins/action/script.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/action/set_fact.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
AnsibleError
from
ansible.errors
import
AnsibleError
from
ansible.plugins.action
import
ActionBase
from
ansible.plugins.action
import
ActionBase
...
...
v2/ansible/plugins/action/synchronize.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os.path
import
os.path
...
...
v2/ansible/plugins/action/template.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
base64
import
base64
import
os
import
os
...
...
v2/ansible/plugins/action/unarchive.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
pipes
import
pipes
...
...
v2/ansible/plugins/cache/__init__.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
collections
import
MutableMapping
from
collections
import
MutableMapping
...
...
v2/ansible/plugins/cache/base.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
exceptions
import
exceptions
...
...
v2/ansible/plugins/cache/memcached.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
collections
import
collections
import
os
import
os
...
...
v2/ansible/plugins/cache/memory.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.cache.base
import
BaseCacheModule
from
ansible.plugins.cache.base
import
BaseCacheModule
...
...
v2/ansible/plugins/cache/redis.py
View file @
3d2a056a
...
@@ -14,9 +14,9 @@
...
@@ -14,9 +14,9 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
__future__
import
absolute_import
import
collections
# FIXME: can we store these as something else before we ship it?
# FIXME: can we store these as something else before we ship it?
import
sys
import
sys
import
time
import
time
...
...
v2/ansible/plugins/connections/accelerate.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
json
import
json
import
os
import
os
...
...
v2/ansible/plugins/connections/chroot.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
distutils.spawn
import
distutils.spawn
import
traceback
import
traceback
...
...
v2/ansible/plugins/connections/funcd.py
View file @
3d2a056a
...
@@ -18,6 +18,9 @@
...
@@ -18,6 +18,9 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# ---
# ---
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
# The func transport permit to use ansible over func. For people who have already setup
# The func transport permit to use ansible over func. For people who have already setup
# func and that wish to play with ansible, this permit to move gradually to ansible
# func and that wish to play with ansible, this permit to move gradually to ansible
# without having to redo completely the setup of the network.
# without having to redo completely the setup of the network.
...
...
v2/ansible/plugins/connections/jail.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
distutils.spawn
import
distutils.spawn
import
traceback
import
traceback
...
...
v2/ansible/plugins/connections/libvirt_lxc.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
distutils.spawn
import
distutils.spawn
import
os
import
os
...
...
v2/ansible/plugins/connections/local.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
traceback
import
traceback
import
os
import
os
...
...
v2/ansible/plugins/connections/paramiko_ssh.py
View file @
3d2a056a
...
@@ -14,7 +14,8 @@
...
@@ -14,7 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
# ---
# ---
# The paramiko transport is provided because many distributions, in particular EL6 and before
# The paramiko transport is provided because many distributions, in particular EL6 and before
...
...
v2/ansible/plugins/connections/ssh.py
View file @
3d2a056a
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
#
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
re
import
re
...
...
v2/ansible/plugins/connections/winrm.py
View file @
3d2a056a
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
from
__future__
import
absolute_import
__metaclass__
=
type
import
base64
import
base64
import
hashlib
import
hashlib
...
...
v2/ansible/plugins/inventory/directory.py
View file @
3d2a056a
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#############################################
#############################################
# Make coding more python3-ish
# Make coding more python3-ish
from
__future__
import
(
division
,
print_function
)
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/lookup/cartesian.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
itertools
import
product
from
itertools
import
product
...
...
v2/ansible/plugins/lookup/csvfile.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
codecs
import
codecs
...
...
v2/ansible/plugins/lookup/dict.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/dnstxt.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/lookup/env.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/lookup/etcd.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
urllib2
import
urllib2
...
...
v2/ansible/plugins/lookup/file.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
codecs
import
codecs
...
...
v2/ansible/plugins/lookup/fileglob.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
glob
import
glob
...
...
v2/ansible/plugins/lookup/first_found.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
# take a list of files and (optionally) a list of paths
# take a list of files and (optionally) a list of paths
# return the first existing file found in the paths
# return the first existing file found in the paths
...
...
v2/ansible/plugins/lookup/flattened.py
View file @
3d2a056a
...
@@ -14,7 +14,8 @@
...
@@ -14,7 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
*
from
ansible.errors
import
*
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/indexed_items.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/inventory_hostnames.py
View file @
3d2a056a
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
*
from
ansible.errors
import
*
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/items.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/lines.py
View file @
3d2a056a
...
@@ -15,8 +15,10 @@
...
@@ -15,8 +15,10 @@
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
import
subprocess
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
subprocess
from
ansible.errors
import
*
from
ansible.errors
import
*
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/nested.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
AnsibleError
from
ansible.errors
import
AnsibleError
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/password.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
errno
import
errno
...
...
v2/ansible/plugins/lookup/pipe.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
subprocess
import
subprocess
...
...
v2/ansible/plugins/lookup/random_choice.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
random
import
random
...
...
v2/ansible/plugins/lookup/redis_kv.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
re
import
re
...
...
v2/ansible/plugins/lookup/sequence.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
re
import
compile
as
re_compile
,
IGNORECASE
from
re
import
compile
as
re_compile
,
IGNORECASE
...
...
v2/ansible/plugins/lookup/subelements.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.errors
import
*
from
ansible.errors
import
*
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
...
...
v2/ansible/plugins/lookup/template.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
...
...
v2/ansible/plugins/lookup/together.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
itertools
import
izip_longest
from
itertools
import
izip_longest
...
...
v2/ansible/plugins/lookup/url.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.plugins.lookup
import
LookupBase
from
ansible.plugins.lookup
import
LookupBase
import
urllib2
import
urllib2
...
...
v2/ansible/plugins/shell/csh.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.runner.shell_plugins.sh
import
ShellModule
as
ShModule
from
ansible.runner.shell_plugins.sh
import
ShellModule
as
ShModule
...
...
v2/ansible/plugins/shell/fish.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
from
ansible.runner.shell_plugins.sh
import
ShellModule
as
ShModule
from
ansible.runner.shell_plugins.sh
import
ShellModule
as
ShModule
...
...
v2/ansible/plugins/shell/powershell.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
base64
import
base64
import
os
import
os
...
...
v2/ansible/plugins/shell/sh.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
re
import
re
...
...
v2/ansible/template/safe_eval.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
ast
import
ast
import
sys
import
sys
...
...
v2/ansible/utils/color.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
sys
import
sys
...
...
v2/ansible/utils/debug.py
View file @
3d2a056a
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
time
import
time
import
sys
import
sys
...
...
v2/ansible/utils/display.py
View file @
3d2a056a
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# FIXME: copied mostly from old code, needs py3 improvements
# FIXME: copied mostly from old code, needs py3 improvements
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
textwrap
import
textwrap
import
sys
import
sys
...
...
v2/ansible/utils/encrypt.py
View file @
3d2a056a
...
@@ -14,6 +14,9 @@
...
@@ -14,6 +14,9 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
PASSLIB_AVAILABLE
=
False
PASSLIB_AVAILABLE
=
False
try
:
try
:
...
...
v2/ansible/utils/path.py
View file @
3d2a056a
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
(
absolute_import
,
division
,
print_function
)
__metaclass__
=
type
import
os
import
os
import
stat
import
stat
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment