# CSC 395 - Fundamentals of Modern Linux Administration
## Lab Exercises
This repository is the starting point for all of the labs outlined in the primary
[course repository](https://github.com/draevin/csc395-linux) and is intended to be
forked for use by participants in the class. As you work through the exercises, update
this repository with your changes. When you need to turn in an assignment, create
a tag representing the weekly exercise that state represents.
## Starting contents
The initial contents of this repository include...
### `inventory` directory
When using Ansible, you must have an inventory defined. There are many ways to do
this depending on your use case, but for these exercises we will be using a directory
within the repository so that the information is kept in a single, centralized location.
To do this without additional overhead when running commands, we need to specify
that we're doing so in our `ansible.cfg` file (see below)
#### host_vars\az-workstation
##### main.yml
This is our primary host variable file. It contains a variety of variables specific
to the machine from which we will set up our Azure lab VMs. It comes with appropriate
defaults for this process.
##### `vault.yml` (REQUIRED -- NOT INCLUDED)
To configure your Azure lab VMs, you will need to provide a `vault.yml` file in this
directory with contents as follows:
```yaml
---
vault_admin_un: { yourUsernameHere-noBrackets }
vault_admin_pw: { yourPasswordHere-noBrackets }
```
### `ansible.cfg`
Ansible can be configured with various configuration files that change in scope
depending on location. The most specific file available is one in the current directory
when running commands. This config is provided with some appropriate defaults for
our lab needs. Further details on configuration and scope can be found in the official
docs section on [Ansible Configuration settings](https://docs.ansible.com/ansible/latest/reference_appendices/config.html)
没有合适的资源?快使用搜索试试~ 我知道了~
csc395-linux-lab-exercises:CSC395的讲师材料-现代Linux管理基础
共7个文件
yml:4个
md:1个
gitignore:1个
5星 · 超过95%的资源 需积分: 0 1 下载量 145 浏览量
2021-03-26
03:48:12
上传
评论
收藏 5KB ZIP 举报
温馨提示
CSC 395-现代Linux管理基础 实验练习 该存储库是初级概述的所有实验的起点,旨在供班级参与者使用。 在练习中,请使用您的更改更新此存储库。 当您需要上交作业时,创建一个标签,该标签代表该州代表的每周运动。 起始内容 该存储库的初始内容包括... inventory目录 使用Ansible时,必须定义清单。 有多种方法可以执行此操作,具体取决于您的用例,但是对于这些练习,我们将使用存储库中的目录,以便将信息保存在一个集中的位置。 为此,在运行命令时无需额外的开销,我们需要在ansible.cfg文件中指定要执行的操作(请参见下文) host_vars \ az-workstation main.yml 这是我们的主要宿主变量文件。 它包含各种变量,这些变量特定于我们将用来设置Azure实验室VM的计算机。 它带有此过程的适当默认值。 vault.yml ( vault.yml -
资源推荐
资源详情
资源评论
收起资源包目录
csc395-linux-lab-exercises-main.zip (7个子文件)
csc395-linux-lab-exercises-main
.gitignore 7B
ansible.cfg 97B
provisioning.yml 6KB
README.md 2KB
inventory
host_vars
az-workstation
main.yml 447B
vault.yml 549B
inventory.yml 96B
共 7 条
- 1
资源评论
- Zzu162021-08-20用户下载后在一定时间内未进行评价,系统默认好评。
师爷孙
- 粉丝: 16
- 资源: 4757
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功