From 187da236b417e734967d97de0a1da0fa6fb20fa6 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 15 Oct 2014 12:16:41 -0700 Subject: [PATCH] Add new class stubs --- .../{runner/__init__.py => executor/HostLog.py} | 6 ------ v2/ansible/executor/HostLogManager.py | 16 ++++++++++++++++ v2/ansible/executor/PlaybookExecutor.py | 16 ++++++++++++++++ v2/ansible/executor/TaskExecutor.py | 16 ++++++++++++++++ v2/ansible/executor/TaskQueueManager.py | 16 ++++++++++++++++ v2/ansible/executor/TaskResult.py | 16 ++++++++++++++++ v2/ansible/executor/TemplateEngine.py | 16 ++++++++++++++++ v2/ansible/executor/VariableCache.py | 16 ++++++++++++++++ v2/ansible/executor/VariableManager.py | 16 ++++++++++++++++ 9 files changed, 128 insertions(+), 6 deletions(-) rename v2/ansible/{runner/__init__.py => executor/HostLog.py} (88%) create mode 100644 v2/ansible/executor/HostLogManager.py create mode 100644 v2/ansible/executor/PlaybookExecutor.py create mode 100644 v2/ansible/executor/TaskExecutor.py create mode 100644 v2/ansible/executor/TaskQueueManager.py create mode 100644 v2/ansible/executor/TaskResult.py create mode 100644 v2/ansible/executor/TemplateEngine.py create mode 100644 v2/ansible/executor/VariableCache.py create mode 100644 v2/ansible/executor/VariableManager.py diff --git a/v2/ansible/runner/__init__.py b/v2/ansible/executor/HostLog.py similarity index 88% rename from v2/ansible/runner/__init__.py rename to v2/ansible/executor/HostLog.py index b8cc0a9219a..1f84012e014 100644 --- a/v2/ansible/runner/__init__.py +++ b/v2/ansible/executor/HostLog.py @@ -14,9 +14,3 @@ # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . - -#from v2.inventory import Host -#from v2.playbook import Task - -class Runner(object): - pass diff --git a/v2/ansible/executor/HostLogManager.py b/v2/ansible/executor/HostLogManager.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/HostLogManager.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/PlaybookExecutor.py b/v2/ansible/executor/PlaybookExecutor.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/PlaybookExecutor.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/TaskExecutor.py b/v2/ansible/executor/TaskExecutor.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/TaskExecutor.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/TaskQueueManager.py b/v2/ansible/executor/TaskQueueManager.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/TaskQueueManager.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/TaskResult.py b/v2/ansible/executor/TaskResult.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/TaskResult.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/TemplateEngine.py b/v2/ansible/executor/TemplateEngine.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/TemplateEngine.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/VariableCache.py b/v2/ansible/executor/VariableCache.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/VariableCache.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 . diff --git a/v2/ansible/executor/VariableManager.py b/v2/ansible/executor/VariableManager.py new file mode 100644 index 00000000000..1f84012e014 --- /dev/null +++ b/v2/ansible/executor/VariableManager.py @@ -0,0 +1,16 @@ +# (c) 2012-2014, Michael DeHaan +# +# 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 .