New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aix_mount.py added #49066

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
3 participants
@flynn1973

flynn1973 commented Nov 23, 2018

SUMMARY
  • This module mounts an existing filesystem
    • Or mount a AIX logical volume on a mountpoint
ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

aix_mount

ADDITIONAL INFORMATION

Examples:

Mount the existing (present in /etc/filesystems) /data filesystem

  • aix_mount:
    fs:/data

Unmount the filesystem mounted on /mnt

  • aix_mount:
    fs: /mnt
    state: absent

Mount a NFS share

  • aix_mount:
    fs: /mnt
    nfsserver: rn100pgpl.itc.testlab.intranet
    nfsexport: /export/nim/tmp
@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 23, 2018

Hi @flynn1973, thank you for submitting this pull-request!

click here for bot help

@ansibot

This comment has been minimized.

Contributor

ansibot commented Nov 23, 2018

The test ansible-test sanity --test pylint [explain] failed with 104 errors:

lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import AVAILABLE_HASH_ALGORITHMS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import AnsibleFallbackNotFound from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import BOOLEANS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import BOOLEANS_FALSE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import BOOLEANS_TRUE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import DEFAULT_PERM from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import EXEC_PERM_BITS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import FILE_ATTRIBUTES from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import FILE_COMMON_ARGUMENTS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import HAS_SYSLOG from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import HAVE_SELINUX from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import KeysView from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import MODE_OPERATOR_RE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import Mapping from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import MutableMapping from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import MutableSequence from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import MutableSet from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import NUMBERTYPES from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import NoneType from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PASSWD_ARG_RE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PASSWORD_MATCH from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PASS_BOOLS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PASS_VARS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PERMS_RE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PERM_BITS from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PY2 from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import PY3 from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import SEQUENCETYPE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import SIZE_RANGES from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import Sequence from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import Set from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import USERS_RE from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import algorithm from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import algorithms from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import atexit from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import attribute from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import b from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import basestring from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import binary_type from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import boolean from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import bytes_to_human from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import chain from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import datetime from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import deque from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import env_fallback from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import errno from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import format_attributes from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_all_subclasses from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_bin_path from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_distribution from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_distribution_version from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_exception from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_flags_from_attributes from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_module_path from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import get_platform from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import grp from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import has_journal from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import hashlib from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import heuristic_log_sanitize from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import human_to_bytes from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import imap from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import integer_types from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import is_executable from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import iteritems from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import journal from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import json from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import json_dict_bytes_to_unicode from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import json_dict_unicode_to_bytes from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import jsonify from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import literal_eval from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import load_platform_subclass from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import locale from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import map from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import md5 from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import missing_required_lib from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import platform from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import pwd from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import re from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import reduce from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import remove_values from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import repeat from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import return_values from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import select from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import selinux from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import sha from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import shlex from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import shlex_quote from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import shutil from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import signal from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import stat from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import string_types from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import subprocess from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import sys from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import syslog from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import tempfile from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import text_type from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import time from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import to_bytes from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import to_native from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import to_text from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import traceback from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import types from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: unused-wildcard-import Unused import unicode from wildcard import
lib/ansible/modules/system/aix_mount.py:3:0: wildcard-import Wildcard import ansible.module_utils.basic

The test ansible-test sanity --test boilerplate [explain] failed with 2 errors:

lib/ansible/modules/system/aix_mount.py:0:0: missing: __metaclass__ = type
lib/ansible/modules/system/aix_mount.py:0:0: missing: from __future__ import (absolute_import, division, print_function)

The test ansible-test sanity --test pep8 [explain] failed with 2 errors:

lib/ansible/modules/system/aix_mount.py:148:34: E128 continuation line under-indented for visual indent
lib/ansible/modules/system/aix_mount.py:167:1: E305 expected 2 blank lines after class or function definition, found 1

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment