Initial commit of users role
Change-Id: I808c990019b059e0a412986d9b4c010689255581
diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml
new file mode 100644
index 0000000..8a12536
--- /dev/null
+++ b/molecule/default/converge.yml
@@ -0,0 +1,30 @@
+---
+# users molecule/default/verify.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: Converge
+ hosts: all
+ vars:
+ userlist:
+ - username: aturing
+ fullname: "Alan Turing"
+ bcrypt: "$2b$16$4452I9CZeyZIeO6/3lVov.5v3F3s38DD5kuaKFkt1LBC7ifbQhete"
+ sha512crypt: >-
+ $6$rounds=656000$SLHD/vy06e7WuC/g$m4YW8u4ACOSkBQt3f8ZEvWZd5TIn4BiWqyG8VYJ2sIskj0HNorK.HBaTUk8AX1aAk4Qj5I/Ag47luSXlra1Qo.
+ sudoer: false
+ system: false
+ ssh_key: false
+ extra_groups:
+ - "users"
+ - username: ghopper
+ fullname: "Grace Hopper"
+ bcrypt: "$2b$16$k2u18U6LQCBHa.KarY5Kb.RP7Q/A4HsKBdTd7j57pBm.9aPwdKpQe"
+ sha512crypt: >-
+ $6$rounds=656000$w0/M3W/p4fHA./tW$rHUMUTjI7UK68reJzWorpAidPLSuFoPkLqyWkwWiuhIg7Hkxw10AKMZuvFKzth5Uuotya8DzJZj6TiXy7U3wg1
+ sudoer: true
+ tasks:
+ - name: "Include users"
+ include_role:
+ name: "users"
diff --git a/molecule/default/files/ghopper.pub b/molecule/default/files/ghopper.pub
new file mode 100644
index 0000000..53afc67
--- /dev/null
+++ b/molecule/default/files/ghopper.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFfdmxif/8wDsbdWyHJUjiFG4ZAB+MTeSm+7p1hClttx ghopper
diff --git a/molecule/default/files/ghopper.pub.license b/molecule/default/files/ghopper.pub.license
new file mode 100644
index 0000000..3d7b47b
--- /dev/null
+++ b/molecule/default/files/ghopper.pub.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+SPDX-License-Identifier: Apache-2.0
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
new file mode 100644
index 0000000..abe33e6
--- /dev/null
+++ b/molecule/default/molecule.yml
@@ -0,0 +1,36 @@
+---
+# users molecule/default/molecule.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+dependency:
+ name: galaxy
+driver:
+ name: docker
+platforms:
+ - name: "ubuntu-18.04-priv"
+ image: "quay.io/paulfantom/molecule-systemd:ubuntu-18.04"
+ privileged: true
+ volumes:
+ - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
+ - name: "debian-10-priv"
+ image: "quay.io/paulfantom/molecule-systemd:debian-10"
+ privileged: true
+ volumes:
+ - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
+ - name: "centos-7-priv"
+ image: "quay.io/paulfantom/molecule-systemd:centos-7"
+ privileged: true
+ volumes:
+ - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
+provisioner:
+ name: ansible
+ playbooks:
+ prepare: prepare.yml
+ inventory:
+ host_vars:
+ debian-10-priv:
+ ansible_python_interpreter: /usr/bin/python3
+verifier:
+ name: ansible
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
new file mode 100644
index 0000000..3525b8d
--- /dev/null
+++ b/molecule/default/verify.yml
@@ -0,0 +1,12 @@
+---
+# users molecule/default/verify.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: Verify
+ hosts: all
+ tasks:
+ - name: example assertion
+ assert:
+ that: true