summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/system/systemd.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-03-14 09:07:22 -0700
committerGitHub <noreply@github.com>2017-03-14 09:07:22 -0700
commiteb1214baad0cbe2c4b7304caebb9ae1c7dc0d8db (patch)
tree5dbfed38c583a78e5f959aa11fb902d9994c889a /lib/ansible/modules/system/systemd.py
parent2be3418a8150ab1099e23e613919a7337e13934f (diff)
downloadansible-eb1214baad0cbe2c4b7304caebb9ae1c7dc0d8db.tar.gz
New metadata 1.0 (#22587)
Changes to the metadata format were approved here: https://github.com/ansible/proposals/issues/54 * Update documentation to the new metadata format * Changes to metadata-tool to account for new metadata * Add GPL license header * Add upgrade subcommand to upgrade metadata version * Change default metadata to the new format * Fix exclusion of non-modules from the metadata report * Fix ansible-doc for new module metadata * Exclude metadata version from ansible-doc output * Fix website docs generation for the new metadata * Update metadata schema in valiate-modules test * Update the metadata in all modules to the new version
Diffstat (limited to 'lib/ansible/modules/system/systemd.py')
-rw-r--r--lib/ansible/modules/system/systemd.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/ansible/modules/system/systemd.py b/lib/ansible/modules/system/systemd.py
index 1cbdfeac65..2e7d0e6739 100644
--- a/lib/ansible/modules/system/systemd.py
+++ b/lib/ansible/modules/system/systemd.py
@@ -17,9 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
-ANSIBLE_METADATA = {'status': ['stableinterface'],
- 'supported_by': 'core',
- 'version': '1.0'}
+ANSIBLE_METADATA = {'metadata_version': '1.0',
+ 'status': ['stableinterface'],
+ 'supported_by': 'core'}
+
DOCUMENTATION = '''
module: systemd