Tool to provision Linux users and groups. Useful for provisioning a large number of users and groups. Much faster than ansible.builtin.user and ansible.builtin.group. Used internally at WATcloud.
- Prepare a configuration file in the format specified in src/schema.mjs.
- Run the following command to run the provisioner:
npx @watonomous/linux-directory-provisioner@v0.0.3-alpha.24 --config=path_to_config.json
- Increment the version number in
package.json
:
npm version prerelease --preid alpha
# or
npm version patch # or minor or major
- Push the new version to GitHub:
git push --atomic origin main <tag>
- Create a release on GitHub with the tag you just pushed.
- The GitHub Action pipeline will automatically publish the new version to NPM.